Skip to content
This repository was archived by the owner on Mar 3, 2025. It is now read-only.

feat: experiment move commingle_ok into mrp.bom #23

Draft
wants to merge 1 commit into
base: 15.0
Choose a base branch
from

Conversation

theangryangel
Copy link
Member

@theangryangel theangryangel commented Jan 11, 2023

This is much closer to how we previously did it under 12.0 (what we know as mrp_phantom_equiv).

When porting that module from 12.0 we hit issues with changes to explode(), this combined with other issues from adding a custom BoM type, we migrated the functionality out of mrp.bom into product.commingle and family.

However, by product_commingle being separate we're now having issues with tracking all quantities from the sale order, etc.

This is incomplete R&D work with the goal see what happens if we drop product_commingle and family, and effectively find a better way to migrate mrp_phantom_equiv (equivalents/commingled products as a BoM type), and then add a custom mechanism to track relationships between the original bom and the final exploded line (as we did under 12.0 in the poorly named companion module mrp_proportional_delivery, which would be leveraged to fix the problems with adding/removing quantities from a sale.order (i.e. if you add a commingled item or a kit which contains a commingled item, and that commingled item explodes into 2 lines, you need to count both lines together, which Odoo will not do. This problem is amplified with heavily nested kits).

…t under 12.0. We discarded this for many reasons, however its causing issues. This commit is incomplete R&D [ci skip]
@theangryangel theangryangel marked this pull request as draft January 11, 2023 14:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant