stock_quant_package_product_packaging
This module enables the association of product packagings with stock quant packages and automates their assignment based on package contents.
Key Features
- stock.quant.package: Adds a product packaging field to link packages with specific product packagings.
- stock.quant.package: Computes the single product and quantity in a package for packaging assignment logic.
- stock.quant.package: Automatically assigns product packaging when package contents match a packaging quantity.
- stock.quant.package: Synchronizes package type from assigned packaging or product defaults.
- stock.quant.package: Resets package type when unpacking, with an option to disable this behavior.
- product.product: Provides a method to find the best matching packaging based on quantity.
- product.template: Adds a default package type field for products.
- stock.move.line: Triggers automatic packaging assignment after move validation.
- stock.quant: Resets package type on quant unpacking operations.