OdooWiki OCA HUB
Sale License: AGPL-3

This modules allows to specify a Bill Of Materials directly inside a sale order line. It is specially useful to select alternative manufacturing and sub-contracting routings.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets users pick a specific Bill of Materials (BoM) on each sale order line, so the right manufacturing or kit recipe is used for that order. It is useful when a product has several alternative BoMs.

This module adds a BoM field to sale order lines, so a salesperson can choose which recipe should be used to produce or assemble the ordered product.

Where it appears: - A new "BoM" column and field on the sale order form, inside the order lines list and in the line detail popup. - The same BoM column is available on the sale order line list view. - The field is only visible to users in the new group "Allows to define a BOM on sale order lines", so access is controlled by a permission.

Business rules and automatic behaviour: - The BoM must match the line's product: either a BoM tied to that exact product variant, or a BoM tied to the product template without a specific variant. Otherwise Odoo blocks saving with an error asking to select a matching BoM. - When the order is confirmed and stock/manufacturing is triggered, the chosen BoM is passed along to the procurement, so manufacturing uses that recipe instead of the default one. - If the chosen BoM is a kit (phantom BoM), the kit is exploded into its components when procurement runs, and separate procurements are created for each component with the correct quantities.

It touches sale orders and lines (sale.order.line), stock moves and stock rules, and the BoM lookup (mrp.bom).

Depends on

sale_mrp
Models and fields (3)
  • stock.move · extends an existing model
  • stock.rule · extends an existing model
  • sale.order.line · extends an existing modelbom_id (BoM)

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 6 confirmed, 3 with no information of 9 versions.

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/sale-workflow.

terminal Installation and usage

OCA documentation · Odoo 19.0

To be able to select a specific Bill of Materials in a sale order, the user needs the special permission: "Allows to define a BOM on sale order lines".

When adding a new sale order line, you can eventually select a specific Bill Of Materials.

When confirming the sale order, if the routing is manufacturing then the production order will be using the specified Bill Of Materials.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.