OdooWiki OCA HUB

Stock Secondary Unit

stock_secondary_unit folder_open OCA/stock-logistics-warehouse open_in_new
stock License: AGPL-3

This module extends the functionality of stock module to allow define other units with their conversion factor.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you record and see stock quantities in a second unit of measure (for example, buy in boxes but track in units) on products, transfers and delivery slips.

This module adds a second unit of measure to stock operations, so you can work with a unit that differs from the main one used for inventory.

  • On a product (both product.template and product.product) you can set a "Second unit for inventory" in the Inventory tab, and the product form and product lists show a "Secondary Unit" button and column with the quantity on hand expressed in that second unit.
  • On transfers (stock.picking), detailed operations and move lines, you can enter a quantity in the secondary unit; Odoo automatically converts it into the main unit quantity (product_uom_qty on stock.move and quantity on stock.move.line). Changing the main unit recalculates the secondary quantity.
  • When a move line is created, the secondary unit of the related move is copied onto it automatically.
  • Moves with different secondary units are not merged together.
  • The delivery slip report shows an extra "Secondary Qty" column for both detailed and aggregated lines.

Fields and screens are visible to stock users, and the unit fields to users allowed to manage units of measure.

Depends on

Models and fields (5)
  • stock.move · new modelproduct_uom_qty, secondary_uom_qty
  • product.product · new modelstock_secondary_uom_id (Second unit for inventory)
  • stock.move.line · new modelquantity
  • product.template · new modelstock_secondary_uom_id (Second unit for inventory)
  • stock.product.secondary.unit.mixin · new modelsecondary_unit_qty_available (Quantity On Hand (2Unit))

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 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/stock-logistics-warehouse.

terminal Installation and usage

OCA documentation · Odoo 19.0

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 Inventory tab and set a second unit of measure.
  • Push button 'On hand' and set quantities in stock for this product.
  • Go to product list and you can see the secondary unit value.

No verified information in OCA: Installation, Configuration.

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.