MRP BoM Line Net and Gross Quantity
mrp_bom_line_net_qty · OCA/manufacture
Health
67/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 16.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.4 MB
Module directory on disk
Code analysis
0 migration notes
1 model
1 view
0 HTTP endpoints
Description
Handle gross and net quantity on BoM lines thanks to loss percentage Fill quantity (original one is 'gross quantity') : it set automatically 'net quantity' Fill loss percentage, Odoo will show two buttons to calculate net or 'gross quantity' You can also set 'net quantity' and calculate 'gross quantity' with loss percentage

Here are the added fields


/!Line with difference with theorical values are set in yellow
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_mrp_bom_form |
mrp.bom | form | Inherits mrp.mrp_bom_form_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (3)
-
diff_product_qty_gross_netFloatcompute='_compute_diff_product_qty_gross_net'digits='Product Price' -
loss_percentageFloatdigits=(16, 2)help='Percentage loss during process'string='Loss %' -
product_qty_netFloatdigits='Product Unit of Measure'help='Quantity after process'string='Net quantity'
-
calculate_qty_net_theoretical(self, product_qty_gross, loss_percentage) -
set_product_qty_gross(self) -
set_product_qty_net(self)
Loading…