MRP BoM Current Stock
mrp_bom_current_stock · OCA/manufacture-reporting
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 4 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 11 Odoo series since 9.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis
0 migration notes
3 models
3 views
0 HTTP endpoints
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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', '=', '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…
Loading…
Loading…