TIP: You can type at any time to perform a new search.
Purchase - Add Products from BoM
purchase_add_products_from_bom · OCA/purchase-workflow
- Repository
- OCA/purchase-workflow · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Purchase Management
- Folder size
- 0.08 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/purchase-workflow
- Last tracking update
- 2026-08-07 07:31:58
- Authors
- Akretion, Odoo Community Association (OCA)
- Maintainers
- Akretion, Odoo Community Association (OCA)
- Committers
- OCA-git-bot, oca-ci, Magno Costa
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
add_products_from_bom_wizard_view |
Add Products From BoM | add.products.from.bom | form | New |
purchase_add_products_from_bom_form_view |
purchase.order.form | purchase.order | form | Inherits purchase.purchase_order_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (8)
-
bom_idMany2one → mrp.bomcomodel_name='mrp.bom'string='Bill of Material' -
bom_idsOne2many → mrp.bomcomodel_name='mrp.bom'related='product_id.product_tmpl_id.bom_ids'string='Bill of Materials' -
currency_idMany2one → res.currencycomodel_name='res.currency'string='Currency' -
product_idMany2one → product.productcomodel_name='product.product'required=Truestring='Product' -
product_qtyFloatdefault=1digits=dp.get_precision('Product Unit of Measure')required=Truestring='Quantity' -
product_uom_idMany2one → uom.uomcomodel_name='uom.uom'string='Unit of Measure' -
purchase_idMany2one → purchase.ordercomodel_name='purchase.order'string='Purchase Order' -
raw_product_line_idsOne2many → add.products.from.bom.linescomodel_name='add.products.from.bom.lines'inverse_name='product_finished_id'string='Raw Products'
-
add_products(self) -
button_get_products_from_bom(self) -
get_products_from_bom(self, finished_product, product_qty, bom_id)
New fields (17)
-
bom_idMany2one → mrp.bomcomodel_name='mrp.bom'string='Bill of Material' -
bom_idsOne2many → mrp.bomcomodel_name='mrp.bom'related='product_id.product_tmpl_id.bom_ids'string='Bill of Materials' -
currency_idMany2one → res.currencycomodel_name='res.currency'related='product_finished_id.currency_id'string='Currency' -
exploded_productBooleanstring='Already Exploded Product' -
has_bomBooleancompute='_compute_has_bom' -
main_bom_product_idMany2one → product.productcomodel_name='product.product'readonly=Truestring='Main BoM Product' -
orig_bom_product_idMany2one → product.productcomodel_name='product.product'readonly=Truestring='Origin BoM Product' -
price_unitMonetarycurrency_field='currency_id'string='Unit Price' -
product_finished_idMany2one → add.products.from.bomcomodel_name='add.products.from.bom' -
product_idMany2one → product.productcomodel_name='product.product'string='Product' -
product_qtyFloatdigits=dp.get_precision('Product Unit of Measure')required=Truestring='Quantity to Buy' -
product_qty_after_buyFloatcompute='_compute_product_qty_after_buy'string='Quantity After Buy' -
product_qty_stockFloatrelated='product_id.qty_available'string='Quantity Available in Stock' -
product_uom_idMany2one → uom.uomcomodel_name='uom.uom'string='Unit of Measure' -
purchase_uom_idMany2one → uom.uomcomodel_name='uom.uom'string='Purchase Unit of Measure' -
selected_productBooleandefault=Truestring='Selected Product' -
total_product_valueMonetarycompute='_compute_total_product_value'currency_field='currency_id'string='Total Product Value'
-
add_products_from_bom(self) -
return_finished_products_from_bom(self)
New fields (1)
-
bom_countIntegerstore=True
No public methods.