MRP BoM Line UoM Rounding
mrp_bom_line_uom_rounding · OCA/manufacture
-
Security25/25No findings
-
Activity20/25Last human commit 10 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module enforces Unit of Measure (UoM) rounding validation on Bill of Materials (BoM) component quantities.
When a component is added to a BoM, the system validates that the quantity respects the rounding precision defined in the Unit of Measure. For example, if a UoM has a rounding of 1.0 (like "Units" or "Each"), the system will not allow quantities like 0.1 or 0.5.
This prevents data inconsistencies where users could enter quantities that don't make sense for the given UoM, such as 0.1 pieces when the UoM is configured for whole units only.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
No new fields.
Public methods (0)No public methods.