product_packaging_level_salable
Ensure sale order packagings are only selectable when their packaging level is marked as salable.
Key Features
- product.packaging.level: Adds a 'Can be sold' flag per packaging level to control which packagings are allowed on sales orders.
- product.packaging: Propagates the packaging level salable flag into the packaging's sales usability so only permitted packagings can be selected.
- sale.order.line: Prevents saving or auto-selecting a packaging on a sale line when it is not marked for sales, clearing it during computation and blocking with a validation error.