OdooWiki OCA HUB

Product packaging calculator packaging level

product_packaging_calculator_packaging_level folder_open OCA/product-attribute open_in_new
Warehouse Management License: LGPL-3

Modify the string representation of the quantities by packaging. Use the packaging level code instead of the packaging name.

For example, instead of "1 Pallet, 2 Big Box, 7 Box, 10 Units", you get "1PL, 2TU, 7CU, 10 Units"

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

This glue module changes how product quantities are shown by packaging: instead of the full packaging name, it displays the packaging level code (for example "1PL, 2TU, 7CU, 10 Units").

This module is a small bridge between the packaging calculator and the packaging level features. It does not add new screens or menus; it changes the text that Odoo shows when a product quantity is broken down by packaging.

  • When a packaging has a packaging level defined, the quantity display uses the level's code (or another chosen field) instead of the packaging name. For example, "1 Pallet, 2 Big Box, 7 Box, 10 Units" becomes "1PL, 2TU, 7CU, 10 Units".
  • The display can be compact (no space between the number and the code, like "1PL") or spaced ("1 PL"), controlled by context.
  • The field used for the level label can be changed through context; by default it is the code.
  • If a packaging has no packaging level, the previous behaviour is kept.

Technically it extends product.product and the abstract mixin product.qty_by_packaging.mixin, overriding the methods that build the packaging name and the quantity-by-packaging string, and re-declaring the computed display field so it reacts to language and the new context options. No new models, fields, menus, or scheduled actions are added.

Models and fields (1)
  • product.qty_by_packaging.mixin · 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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

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

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/product-attribute.

terminal Installation and usage

No verified information

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.

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.