The goal of this module is to keep standard UoM for inventory for a product, but to automatically select another UoM in the same category when the product is added to Sales Order line.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0Lets you set a separate default sales unit of measure on each product, so sales order lines automatically use that unit instead of the inventory unit.
This module adds a new field called Default Sale UoM on the product form. You can pick any unit of measure that belongs to the same unit category as the product's inventory unit; the selection is limited to that category and you cannot create new units from this field.
When a product is added to a sales order line, Odoo automatically replaces the line's unit of measure with the product's Default Sale UoM, if one is set. This means you can keep buying, storing and counting stock in one unit while selling in another (for example, buying in units but selling in boxes).
Business rules shown in the code: - The Default Sale UoM field is only visible to users who have unit of measure management rights. - If you change the product's main inventory unit, the Default Sale UoM is cleared automatically, so it cannot stay linked to a unit from the wrong category. - The field is available on the product template form, right after the purchase unit of measure field.
The module touches the product template and sales order line areas of Odoo. It does not add menus, reports, emails or scheduled actions.
Depends on
Models and fields (2)
- sale.order.line · extends an existing model
- product.template · extends an existing modelsale_uom_id, uom_category_id (UOM Category)
Text generated by AI (DeepSeek) from reading the Odoo 14.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: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/sale-workflow.
terminal Installation and usage
OCA documentation · Odoo 14.0Usage
Source · Odoo 14.0To use features of this module, you need to:
- Go to Sales > Products > Products
- Open a product.
- You will see a field called 'Default Sale UoM' on the form view.
- Now you can set the default UOM of the same category UOM that is selected in 'Unit of Measure' field.
No verified information in OCA: Installation, Configuration.
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.