This module extends unities of measure (uom) by sorting them into three categories :
- uom for sales only
- uom for purchases only
- uom for both sales and purchases (default).
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Classify units of measure as usable for sales, purchases, or both, and prevent selecting the wrong type of unit on products.
This module adds a 'Use Type' field to every unit of measure (UoM) in Odoo. You can mark a unit as available for sales only, for purchases only, or for both (the default). The field appears on the Units of Measure form and list views, right after the existing fields.
On products, the module restricts which units can be chosen: - The main product unit (used for sales) can only be a unit marked for sales or both. - The purchase unit can only be a unit marked for purchases or both.
If you try to save a product with a purchase-only unit as its main unit, or a sales-only unit as its purchase unit, Odoo blocks the save with a clear error message.
When you change the main unit to a sales-only unit, if the purchase unit belongs to a different unit category, the purchase unit is automatically cleared. The same happens in reverse when you change the purchase unit to a purchase-only unit and the main unit is in a different category.
This helps keep product units consistent and avoids mistakes like using a sales unit for purchasing. The module depends on the standard Product and Units of Measure apps and does not add new menus.
Depends on
Models and fields (3)
- uom.uom · extends an existing modeluse_type
- product.product · extends an existing model
- product.template · extends an existing modeluom_id, uom_po_id
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-03Confirmation status: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/product-attribute.
terminal Installation and usage
OCA documentation · Odoo 16.0Configuration
Source · Odoo 16.0Every unities of measure's use type will be set as both by default.
If you want to change that (or when you create a new unity of measure), set use type field with sales/purchase/both.
No verified information in OCA: Installation, Usage.
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.
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.