delivery_package_type_shipping_weight
This module lets a delivery package type's base weight serve as the total shipping weight so product weights are not counted twice.
Key Features
- stock.package.type: Introduces an is_base_weight_shipping_weight option that treats the package's base weight as the shipment weight and blocks negative base weights when enabled.
- stock.quant.package: Auto-resets shipping weight to the package type's base weight during onchange, create, write, and weight computation when the flag is active.
- choose.delivery.package: Forces the wizard to set shipping weight from the package type base weight instead of product moves when the flag is active.
- delivery.carrier: Skips adding product weights when building packages from orders or pickings if the package type supplies its own shipping weight.
- sale.order: Returns zero estimated weight when instructed to ignore product weights so carriers rely on package base weight.
- stock.picking: Returns zero estimated weight when instructed to ignore product weights so shipments use package base weight.