Purchase UoM Discrete
purchase_uom_discrete · OCA/purchase-workflow
-
Security25/25No findings
-
Activity25/25Last human commit 6 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 19.0
Heuristic over the facts below, not an audit · How it's computed
Description
Discrete and countable units cannot be split. Fractional values are meaningful for continuous measures like weight, volume, length, or time, but not for countable items such as units, boxes, or laptops.
This module rounds purchase order line quantities using Unit based UoMs UP to the next whole number. UoMs that do not share the Unit(s) reference, such as kg, liters, meters, or hours, keep fractional quantities.
This is only a purchase order form onchange helper, with no ORM-level create or write enforcement, so users and integrations can still keep a fractional quantity when it is intentionally applicable.
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.
Loading…