TIP: You can type at any time to perform a new search.
MRP BoM Current Stock
mrp_bom_current_stock · OCA/manufacture-reporting
- Repository
- OCA/manufacture-reporting · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Manufacture
- Folder size
- 0.08 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/manufacture-reporting
- Last tracking update
- 2026-08-07 08:43:07
- Authors
- Odoo Community Association (OCA), ForgeFlow
- Maintainers
- Odoo Community Association (OCA), ForgeFlow
- Committers
- Weblate, OCA-git-bot, oca-ci, Arnau
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This modules extend the Manufacturing App adding a report that explodes the bill of materials and show the stock available in the source location.
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
mrp_bom_current_stock_view_form |
mrp.bom.current.stock.form | mrp.bom.current.stock | form | New |
mrp_bom_current_stock_view_form2 |
mrp.bom.current.stock.form2 | mrp.bom.current.stock | form | New |
report_mrpbom_current_stock_pdf |
report_mrpbom_current_stock_pdf | ir.ui.view | qweb | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (7)
-
bom_idMany2one → mrp.bomcomodel_name='mrp.bom'required=Truestring='Starting Bill of Materials' -
line_idsOne2many → mrp.bom.current.stock.linecomodel_name='mrp.bom.current.stock.line'inverse_name='explosion_id' -
location_idMany2one → stock.locationcomodel_name='stock.location'string='Starting location' -
product_idMany2one → product.productcomodel_name='product.product'domain="[('type', 'in', ['product', 'consu'])]"required=Truestring='Product Variant' -
product_qtyFloatdigits='Product Unit of Measure'related='bom_id.product_qty' -
product_tmpl_idMany2one → product.templatecomodel_name='product.template'related='product_id.product_tmpl_id'string='Product Template' -
product_uom_idMany2one → uom.uomcomodel_name='uom.uom'related='bom_id.product_uom_id'
-
do_explode(self)
New fields (9)
-
bom_idMany2one → mrp.bomcomodel_name='mrp.bom'readonly=Truerelated='bom_line.bom_id'string='Parent BoM' -
bom_levelIntegerreadonly=Truestring='BoM Level' -
bom_lineMany2one → mrp.bom.linecomodel_name='mrp.bom.line'readonly=Truestring='BoM line' -
explosion_idMany2one → mrp.bom.current.stockcomodel_name='mrp.bom.current.stock'readonly=True -
location_idMany2one → stock.locationcomodel_name='stock.location'string='Source location' -
product_idMany2one → product.productcomodel_name='product.product'readonly=Truestring='Product Variant' -
product_qtyFloatdigits='Product Unit of Measure'readonly=Truestring='Product Quantity' -
product_uom_idMany2one → uom.uomcomodel_name='uom.uom'readonly=Truestring='Product Unit of Measure' -
qty_available_in_source_locFloatcompute='_compute_qty_available_in_source_loc'readonly=Truestring='Qty Available in Source'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
generate_xlsx_report(self, workbook, data, objects)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 160 days ago
- Last activity
- 160 days ago
- Repository
- OCA/manufacture-reporting
- Pull request
- [19.0][MIG] mrp_bom_current_stock: Migration to 19.0 (#153)