TIP: You can type at any time to perform a new search.
Purchase UoM Discrete
purchase_uom_discrete · OCA/purchase-workflow
- Repository
- OCA/purchase-workflow · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Purchases
- Folder size
- 0.04 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/purchase-workflow
- Last tracking update
- 2026-08-07 09:06:27
- Authors
- Odoo Community Association (OCA), Camptocamp SA
- Maintainers
- Odoo Community Association (OCA), Camptocamp SA
- Committers
- Maksym Yankin, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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.
Code Analysis ⓘ
Views touched (0)
No views found for this module.
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (0)
No new fields.
Public methods (0)No public methods.