Skip to content

Comments

[IMP] modular_types: add modular configuration from sale order#1179

Draft
abbhi-Odoo wants to merge 2 commits intoodoo:19.0from
odoo-dev:19.0-modular-types-abbhi
Draft

[IMP] modular_types: add modular configuration from sale order#1179
abbhi-Odoo wants to merge 2 commits intoodoo:19.0from
odoo-dev:19.0-modular-types-abbhi

Conversation

@abbhi-Odoo
Copy link

Before:
Manufacturing component quantities were fixed based on the Bill of Materials (BoM).
For configurable/modular products, users had to:
manually edit quantities in the Manufacturing Order.
This caused extra work and increased the risk of incorrect production quantities.

After:
Added modular configuration on the Sale Order line.
Users can enter modular parameters (e.g., Sections, Length, Panels) through a wizard
When a Manufacturing Order is created from the sale order, raw material quantities are automatically recalculated based on the entered modular values
Component quantities are dynamically computed during stock move generation

Impact:
Reduces manual intervention in Manufacturing Orders and prevents quantity errors by automatically adjusting raw materials according to the sales configuration.

Task: [5930995]

- Add modular.type model and configuration menu in MRP
- Store per-order-line modular configuration using One2many relation
…tities

- Allow entering modular type values on sale order lines
- Store selected modular values linked to the sale line
- Propagate modular values to manufacturing orders
- Dynamically compute raw material quantities based on modular factors
- Manufacturing components now scale according to customer configuration
@robodoo
Copy link

robodoo commented Feb 17, 2026

Pull request status dashboard

@abbhi-Odoo abbhi-Odoo changed the title [IMP] modular_types: Dynamic component quantity calculation based on modular configuration from sale order [IMP] modular_types: add modular configuration from sale order Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants