This module recovers the number of packages field that was present in previous versions of Odoo, that can be either be set manually by the user, but also allows to be computed when the delivery packages flow is used.
This field can be used by delivery carrier extensions that need such info to rate the shipment, print the labels, etc.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Adds a "Number of Packages" field on transfers that can be typed in manually or filled automatically from the packages used, and can ask the user for it before validating a delivery.
This module brings back the number of packages on a transfer (stock.picking), shown in the carrier section of the delivery form. The value is calculated from the packages actually used on the operation lines, but you can still overwrite it by hand; once the transfer is done the field is locked.
On each operation type you can decide how the field behaves: never ask for it, always ask for it, and which label report to use. When a transfer has a carrier and no packages have been scanned, or when the operation type forces it, Odoo opens a small "Set number of packages" window before validating. There you enter one total number, or one number per transfer when several are validated together, and you can tick an option to print the package labels straight away.
A dedicated PDF report, "Delivery package number", prints one label page per package with the customer, the transfer barcode and a counter such as 1/3. It uses its own small label paper format and can be launched from the transfer itself or automatically after validation. Backorder confirmations are handled so that the package question is not asked again during that step.
Depends on
Required by other modules
Models and fields (5)
- stock.picking · extends an existing modelnumber_of_packages (Number of Packages), ask_number_of_packages
- stock.picking.type · extends an existing modelreport_number_of_packages, avoid_set_number_of_packages, force_set_number_of_packages
- stock.backorder.confirmation · extends an existing model
- stock.number.package.validate.wizard · new modelpick_ids, number_of_packages, print_package_label, stock_number_package_validation_line_ids
- stock.number.package.validate.line.wizard · new modelwiz_id, picking_id, number_of_packages
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: 8 confirmed, 1 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/delivery-carrier.
terminal Installation and usage
OCA documentation · Odoo 19.0Usage
Source · Odoo 19.0If no delivery packages are used:
- Go to an open picking and click in the Additional Info tab.
- In the Delivey Information section you'll find a Number of packages field that you can edit.
If delivey packages are used:
- The field will be recomputed depending on the delivery packages used in the picking although can be edited at convenience later.
When the picking is confirmed, the user has the chance to change the number of packages in the confirmation wizard.
Note: You can prevent the wizard from popping up to set the number of packages by selecting the option "Avoid set number of packages" in the operation type.
No verified information in OCA: Installation, Configuration.
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.