Secondary unit in product matrix
With this module we'll be able to set the secondary units in the product matrix for a quick quotation for those products using this kind of configurator.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Lets you choose a secondary unit of measure directly inside the product matrix configurator when adding products to a sales order, so grid quantities are entered and stored in that secondary unit.
When a product uses the matrix configurator (grid of variants and quantities) and has secondary units of measure configured, this module adds a "Secondary Unit" selector above the grid. You pick the main unit of measure or one of the product's active secondary units, then fill in the quantities.
- The chosen secondary unit is saved on the sales order lines created from the grid, and the quantities you type are treated as secondary-unit quantities.
- If you change the secondary unit after filling cells, all filled cells are sent back so quantities are recalculated with the new conversion factor.
- If the same product template already has order lines with different secondary units, the matrix cannot represent them, so Odoo automatically opens the regular product configurator instead.
- When reopening the matrix for a template whose lines all share the same secondary unit, that unit is preselected.
The module extends product.template, sale.order and sale.order.line, and patches the product matrix dialog and the sales order line product field in the web client. It depends on sale_management, sale_product_matrix and sale_order_secondary_unit.
Depends on
Required by other modules
Models and fields (3)
- sale.order · extends an existing model
- sale.order.line · extends an existing modelforce_product_configurator
- product.template · extends an existing model
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: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/product-attribute.
terminal Installation and usage
OCA documentation · Odoo 19.0Configuration
Source · Odoo 19.0To configure this module, you need to:
- Go to a product with variants or create one.
- In the Attributes and variants tab, Sales Variant Selection section, select Order grid entry.
- In the General information tab, Secondary unit of measure section, add one or several secondary units.
- You can also set a default Sale secondary unit.
Usage
Source · Odoo 19.0To use this module, you need to:
- Go to a sales order and add the configured product.
- The matrix dialog will show up and there you'll be able to select the available secondary units.
- If a default sale secondary unit is set, it will selected in the dialog already.
No verified information in OCA: Installation.
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.