Stock packaging calculator packaging type
Glue module for stock_packaging_calculator and product_packaging_type.
Mainly to use packaging type's code instead of packaging's name.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0This glue module makes the packaging calculator show the packaging type's code (for example a short label) instead of the packaging name when displaying quantities by packaging.
This is a small technical bridge module that connects two existing features: the packaging quantity calculator and packaging types. It does not add new menus or screens; it changes how quantities are displayed wherever the packaging calculator is already used.
What changes for users: - When Odoo shows a quantity together with a packaging, it now uses the packaging type's code (or another chosen field of the packaging type) instead of the packaging's own name. - The display can be compact, meaning the quantity and the type label are shown together without a space, or with a space if compact mode is turned off. - The field used for the label and the compact setting are controlled by context values, so other modules or views can decide which packaging type field to show.
If a packaging has no packaging type, the module falls back to the standard behaviour and shows the packaging name as before.
The module touches the product model (product.product) and the abstract mixin product.qty_by_packaging.mixin, which is responsible for computing the quantity-by-packaging display. It also declares that the display computation depends on the language and on the packaging type display settings, so the shown text refreshes correctly when those change.
Because it installs automatically when both related modules are present, users do not need to enable it manually.
Models and fields (1)
- product.qty_by_packaging.mixin · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 14.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: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/stock-logistics-warehouse.
terminal Installation and usage
No verified informationInstallation 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.