Skip to content

[DUMMY][IMP] product_pack,sale_product_pack: Allow modifiable non-detailed packs#238

Draft
lef-adhoc wants to merge 2 commits intoOCA:19.0from
adhoc-dev:19.0-t-58218-lef-dummy
Draft

[DUMMY][IMP] product_pack,sale_product_pack: Allow modifiable non-detailed packs#238
lef-adhoc wants to merge 2 commits intoOCA:19.0from
adhoc-dev:19.0-t-58218-lef-dummy

Conversation

@lef-adhoc
Copy link
Copy Markdown
Contributor

No description provided.

@lef-adhoc lef-adhoc marked this pull request as draft December 10, 2025 19:04
@lef-adhoc lef-adhoc force-pushed the 19.0-t-58218-lef-dummy branch 2 times, most recently from 3007c9b to 78bb5db Compare December 17, 2025 20:51
@lef-adhoc lef-adhoc force-pushed the 19.0-t-58218-lef-dummy branch 5 times, most recently from bc83b1f to bf5c017 Compare April 15, 2026 18:35
@OCA-git-bot OCA-git-bot added mod:product_pack Module product_pack series:19.0 mod:sale_product_pack Module sale_product_pack labels Apr 15, 2026
@lef-adhoc lef-adhoc closed this Apr 15, 2026
@lef-adhoc lef-adhoc force-pushed the 19.0-t-58218-lef-dummy branch from bf5c017 to 1177f75 Compare April 15, 2026 19:06
@lef-adhoc lef-adhoc reopened this Apr 15, 2026
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hi @pedrobaeza,
some modules you are maintaining are being modified, check this out!

@lef-adhoc lef-adhoc force-pushed the 19.0-t-58218-lef-dummy branch 3 times, most recently from f6ba8c2 to ce20074 Compare April 21, 2026 20:10
lef-adhoc and others added 2 commits May 6, 2026 17:40
…acks

This change extends the pack_modifiable functionality to work with
non_detailed packs, allowing users to automatically expand packs into
editable component lines.

**Benefits:**
- Minimal code changes to existing modules
- No new models or complex intermediate structures needed
- Users can mark a non_detailed pack as modifiable and it will
  automatically expand into editable detailed lines
- Uses Odoo's native section collapsing (collapse_composition) to keep
  the interface clean and organized
- Component lines can be edited individually (quantities, prices, discounts)

**Use case:**
When a user creates a pack with pack_type='non_detailed' and
pack_modifiable=True, upon adding it to a sale order, it will
automatically transform into a collapsible section with detailed lines
that can be edited, providing flexibility while maintaining visual
organization.
…odifiable packs

Co-authored-by: Copilot <copilot@github.com>
@lef-adhoc lef-adhoc force-pushed the 19.0-t-58218-lef-dummy branch from ce20074 to b1e0f61 Compare May 6, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:product_pack Module product_pack mod:sale_product_pack Module sale_product_pack series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants