Stock Picking Product Barcode Report Secondary Unit
This module extends the functionality of stock_picking_product_barcode_report to set by default the maximum qty on labels depending of the secondary unit.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0When printing product barcode labels from a stock transfer, the maximum number of labels is now automatically calculated using the product's secondary unit of measure, so you get the right number of labels without typing it.
This module works together with the barcode label printing wizard for stock transfers and the secondary unit of measure feature. When you open the label printing screen from a stock operation, the wizard prepares the data for each product line.
- If the line already has a secondary unit of measure selected, that unit's conversion factor is used.
- If not, but the product has secondary units configured, the smallest conversion factor among them is used.
- If the product has no secondary units at all, a factor of 1 is used.
The number of labels to print is then calculated by dividing the quantity on the line by that factor and rounding up to the next whole number. This value is placed in the label quantity field of the wizard, so it appears pre-filled when you print labels.
This affects the stock.picking.print wizard and the way it prepares data from stock move lines. No new menus or screens are added; the change is visible directly in the existing label printing wizard when working with products that use secondary units.
Models and fields (1)
- stock.picking.print · extends an existing model
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 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/stock-logistics-barcode.
terminal Installation and usage
OCA documentation · Odoo 18.0Configuration
Source · Odoo 18.0- Go to Inventory \> Settings.
- Activate the option "Units of Measure".
- Follow the steps of stock_picking_product_barcode_report with a product that have set secondary units.
No verified information in OCA: Installation, Usage.
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.