OdooWiki OCA HUB

MRP BoM Line Net and Gross Quantity

mrp_bom_line_net_qty folder_open OCA/manufacture open_in_new
Manufacturing License: AGPL-3

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

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds net quantity and loss percentage to bill of materials lines, so you can plan for material loss during manufacturing and keep gross and net quantities in sync.

On a bill of materials, each component line now shows a Loss % and a Net quantity next to the usual quantity (the gross quantity).

  • Enter a loss percentage and click the arrow button to calculate the net quantity from the gross quantity.
  • Or enter the net quantity and click the other arrow button to calculate the gross quantity from the net quantity and loss percentage.
  • When you change the gross quantity, the net quantity is filled in automatically with the same value.

Odoo compares the net quantity you entered with the theoretical net quantity (gross quantity reduced by the loss percentage). If they differ, the line is highlighted in yellow and the calculation buttons appear. Setting a gross quantity with a 100% loss is blocked with an error message, because it would be impossible.

Everything happens on the bill of materials form, in the components list. The module only touches mrp.bom.line and the bill of materials form view; it does not change manufacturing orders or stock moves.

Depends on

mrp

Required by other modules

Models and fields (1)
  • mrp.bom.line · extends an existing modelloss_percentage (Loss %), product_qty_net (Net quantity), diff_product_qty_gross_net

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/manufacture.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.