stock-logistics-tracking icon indicating copy to clipboard operation
stock-logistics-tracking copied to clipboard

[19.0][MIG]: stock_quant_package_dimension

Open sbiosca-s73 opened this issue 2 months ago • 0 comments

Migration module stock_quant_package_dimension to 19.0

In addition to the migration, I have refactored several parts of the module following changes to the base Odoo models:

  • product.packaging -> stock.package.type: Since product.packaging no longer exists in base Odoo, the volume calculation functionality (_compute_volume) has been moved to the package type.

  • stock.quant.package -> stock.package: The code has been adapted to align with base Odoo changes regarding the new dimension functionality on packages.

The tests have been adapted accordingly.

sbiosca-s73 avatar Oct 30 '25 11:10 sbiosca-s73