TIP: You can type at any time to perform a new search.
Sale MRP BOM
sale_mrp_bom · OCA/sale-workflow
- Repository
- OCA/sale-workflow · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Sale
- Folder size
- 0.23 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/sale-workflow
- Last tracking update
- 2026-08-07 08:42:48
- Authors
- Akretion, Odoo Community Association (OCA)
- Maintainers
- Akretion, Odoo Community Association (OCA)
- Committers
- Weblate, OCA-git-bot, oca-ci, andrea
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
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.
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
sale_order_form |
sale_mrp_bom.sale.order.form | sale.order | form | Inherits sale.view_order_form |
sale_order_line_tree |
sale_mrp_bom.sale.order.line.tree | sale.order.line | tree | Inherits sale.view_order_line_tree |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (0)
No new fields.
Public methods (1)-
run(self, procurements, raise_user_error=True)@api.modelHandle phantom BoM (kit) procurements linked to sale order lines. If a procurement is for a kit product associated with a sale order line, this method explodes the kit into its components and generates new procurements for those components. Original procurements that are not kits, or not linked to a sale order line with a phantom BoM, are passed through. :param procurements: A list of Procurement namedtuples :param raise_user_error: Whether to raise UserError on failure :return: Result of the original run method
New fields (1)
-
bom_idMany2one → mrp.bomcomodel_name='mrp.bom'domain="[('product_tmpl_id.product_variant_ids', '=', product_id),'|', ('product_id', '=', product_id), ('product_id', '=', False)]"string='BoM'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 744 days ago
- Last activity
- 29 days ago
- Repository
- OCA/sale-workflow
- Pull request
- [17.0][MIG] sale_mrp_bom (#3262)
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 217 days ago
- Last activity
- 27 days ago
- Repository
- OCA/sale-workflow
- Pull request
- [19.0][MIG] sale_mrp_bom (#4107)