OdooWiki OCA HUB

Sale Order Secondary Unit

sale_order_secondary_unit folder_open OCA/sale-workflow open_in_new
Sale License: AGPL-3

This module extends the functionality of sale orders to allow sale products in secondary unit of distinct category.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Sell products in a second unit of measure on sale orders. Set a default secondary unit per product, enter quantities in that unit, and see it on quotations and sales orders.

This module lets you sell a product using a second unit of measure (for example, sell by box while stock is kept in units) directly on sale orders.

On the product form, a new field "Default secondary unit for sales" lets you choose which secondary unit should be proposed by default. The list of available secondary units is maintained under Sales > Configuration > Secondary Units of Measure, where you can create units per product template or variant with a code, name, unit and conversion factor.

On a sale order line, a "Secondary Qty" field and a secondary unit field appear next to the normal quantity. When you pick a product, the default secondary unit is filled in automatically, and the quantity in the main unit is recalculated from the secondary quantity. A computed "2nd unit price" shows the price per secondary unit. The secondary quantity and unit are shown in the order lines list, the line form and the kanban view.

The printed quotation and sale order report also show a "Second. Qty" column with the secondary quantity and the unit name, factor and reference unit.

If a product has several variants with different secondary units, changing the default on the template shows a warning that all variants will be updated.

Menus it adds

Secondary Units of Measure
Models and fields (3)
  • product.product · extends an existing modelsale_secondary_uom_id (Default secondary unit for sales)
  • sale.order.line · new modelproduct_uom_qty, secondary_uom_unit_price (2nd unit price)
  • product.template · extends an existing modelsale_secondary_uom_id (Default secondary unit for sales)

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/sale-workflow.

terminal Installation and usage

OCA documentation · Odoo 19.0

To configure this module, you need to:

  • Go to Sales \> Configuration \> Products \> Secondary Units of Measure to manage all the 'Secondary Units of Measure' in the system.

To 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.
  • Go to Sales \> Quotation \> Create.
  • Change quantities in line and secondary unit (produc_qty will be change).

No verified information in OCA: Installation.

info

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.