Hello,
I'm working with variant-dependent Bills of Materials in Odoo and need help with the variant selection logic.
Current situation:
When adding components to a BoM with the "Apply on Variants" field, Odoo uses OR logic when multiple variant attributes are selected on a single line.
What I need:
I want to use AND logic for variant selection in BoM components. For example:
- Use component A if the product variant is "Color: Red" AND "Size: Big"
Question:
Is there a native way in Odoo to implement AND logic for variant selection in BoM components? Or do I need:
- A custom module/development?
- The Product Configurator module?
- A different approach to structuring my BoMs?
Any guidance or best practices would be greatly appreciated!
Environment:
- Odoo version: 18
- Modules: Manufacturing, Sales