Sale Order Product Recommendation Secondary Unit
This module adds secondary unit to the product recommendation wizard.
If you want a better mobile usability, the module is ready to use with the 'web_widget_numeric_step' module. Just install it and you will get a better numeric input experience.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds a secondary unit of measure column to the product recommendation wizard in sales orders, so users can order recommended products in a second unit (e.g. boxes) alongside the main unit.
When you open the product recommendation wizard from a sales order, the list of suggested products now shows extra columns for a secondary unit and its quantity. This lets you order the same product in two units at once, for example 2 pallets plus 5 boxes.
- The secondary unit and quantity appear in the list, kanban and form views of the wizard lines, next to the main quantity field.
- The secondary unit is only shown when the product actually has one configured; otherwise the columns stay hidden.
- If a product already has a default secondary unit set, it is filled in automatically when the line is created.
- When a recommended line is already linked to an existing sales order line, the secondary unit and quantity from that line are reused.
- Changing the main unit of measure on a line automatically recalculates the secondary quantity, and the total quantity is kept in sync.
- When you accept the recommendations, the secondary unit and quantity are written to the new or updated sales order lines.
The module works together with the product recommendation wizard and the secondary unit features, and it is installed automatically when both are present. It only affects the recommendation wizard and the sales order lines it creates or updates.
Models and fields (2)
- sale.order.recommendation · extends an existing model
- sale.order.recommendation.line · new modelunits_included, product_tmpl_id, secondary_uom_name (Secondary Unit), product_uom_readonly
Text generated by AI (DeepSeek) from reading the Odoo 18.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: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/sale-workflow.
terminal Installation and usage
OCA documentation · Odoo 18.0Configuration
Source · Odoo 18.0To configure product secondary units, you need:
- To have the "Manage Multiple Units of Measure" permission.
Then, in any product form you'll be able to set its product secondary units:
- Add an item with its name, unit of measure and factor.
- Set the product's "Default secondary unit for sales" if you want to have item recommended by default in such secondary uom.
Usage
Source · Odoo 18.0To use this module, you need to:
- Create a new sale order.
- Assign its customer.
- Press Recommended Products button.
- Now you can set the quantities to order from the secondary unit if it's available for that product.
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.