odoo/tutorials#1271

Created by Ayush Khubchandani (aykhu)

Blocked

label
odoo-dev:19.0-modular-types-aykhu
head
977abadeb83c0bca7123d3bab3616937414b0a06
odoo/tutorials
19.0 #1271 missing r+
master

[ADD] sale_mrp_modular_type: add modular types to scale BOM quantities from sales order

In some manufacturing scenarios, the quantity of components depends on values defined at the time of sale (e.g., number of sections, length, area). However, BOMs in Odoo are static, which makes it difficult to handle such cases cleanly.

Today, users either duplicate BOMs for each variation or manually adjust quantities after order confirmation. Both approaches are error-prone and hard to maintain.

This PR introduces modular types to address this limitation in a structured way.

Key Changes

Result