This module extends the functionality of product module to allow define other units with their conversion factor.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Lets you define extra units of measure for a product (for example a box, a pack or hours) with a conversion factor, and shows them on the product form so quantities can be expressed in that second unit.
This module adds a new concept to products: secondary units of measure. On the product form, a new "Secondary Unit of Measure" section appears (only for users allowed to manage units of measure) where you can list extra units for that product.
For each secondary unit you enter: - a name and an optional short code; - the unit of measure itself; - a conversion factor (default 1); - a dependency type: "Dependent" or "Independent". When dependent, the factor is used to convert quantities between the main unit and the secondary unit. When independent, the two units are not converted into each other (useful, for example, when selling a service as a package but recording real hours). - an active switch, so a unit can be disabled without deleting it.
If the product has several variants, a secondary unit can be attached to one specific variant; otherwise it applies to the whole product template. The variant form shows the units that apply to it.
The module also provides a reusable building block so other Odoo screens (such as sales or purchase lines) can display a "Secondary Qty" and a "Second unit" field and automatically convert the quantity to and from the main unit. By default, a new line starts with a secondary quantity of 1 when a secondary unit is set. No menus, reports or scheduled actions are added by this module itself.
Depends on
Required by other modules
Models and fields (4)
- product.product · extends an existing modelsecondary_uom_ids (Secondary Unit of Measure)
- product.template · extends an existing modelsecondary_uom_ids (Secondary Unit of Measure)
- product.secondary.unit · new modelcode, name, active, factor (Secondary Unit Factor), uom_id (Secondary Unit of Measure), product_id (Product Variant), dependency_type, product_tmpl_id (Product Template)
- product.secondary.unit.mixin · new modelsecondary_uom_id (Second unit), secondary_uom_qty (Secondary Qty)
Text generated by AI (DeepSeek) from reading the Odoo 19.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: 8 confirmed, 1 with no information of 9 versions.
Sources · Odoo 17.0
Confirmed on 2026-11-03 in branch 17.0 of OCA/product-attribute.
terminal Installation and usage
OCA documentation · Odoo 19.0Usage
Source · Odoo 19.0To use this module you need to:
- Go to a Product \> General Information tab.
- Create any record in "Secondary unit of measure".
- Set the conversion factor.
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.