OdooWiki OCA HUB

Stock Package Type Volume

stock_package_type_volume folder_open OCA/stock-logistics-warehouse open_in_new
Warehouse License: LGPL-3

This module adds the volume to the package type.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds an automatically calculated volume to package types in Odoo, based on the package's length, width and height. Users see the volume and its unit of measure directly on the package type form.

This module extends the package type configuration in Odoo's Inventory/Stock area. On the package type form, next to the existing size fields, a new read-only Volume value is displayed together with the volume unit of measure used by the company.

The volume is calculated automatically from the package's length, width and height. The dimensions are first converted to meters using the company's configured length unit, then multiplied together to obtain a volume in cubic meters, and finally converted into the company's configured volume unit of measure. If any of the three dimensions is missing, the volume is shown as zero.

The volume unit of measure is taken from the same configuration used for products, so it stays consistent with the rest of Odoo. The value is computed on the fly and is not stored, meaning it refreshes whenever the dimensions or the unit of measure change.

This affects the stock.package.type model and its form view. No new menus, buttons, reports or scheduled actions are added; the change is limited to showing the computed volume on the existing package type screen.

Depends on

stock
Models and fields (1)
  • stock.package.type · extends an existing modelvolume, volume_uom_id (Volume Units of Measure), volume_uom_name

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: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 16.0

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

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.