Product Packaging Container Deposit Purchase to Sale Order inter-company
In product_packaging_container_deposit, product packaging container deposit lines added automatically by the system are flagged with (is_container=True). That information needs to be propagated from the PO to the SO to allow the correct computation of the product packaging container deposit.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Keeps container deposit lines in sync when a purchase order is automatically turned into a sales order in another company. The deposit flag from the purchase line is copied to the sales line, and the sales order does not recalculate deposits.
This module makes the automatic purchase-to-sale flow work correctly when products are sold in packaging that carries a container deposit.
When a purchase order in one company automatically creates a sales order in another company, the module copies the container deposit marker from each purchase order line to the matching sales order line. This means the sales order knows which lines are container deposits, exactly as the purchase order does.
It also prevents the sales order from recalculating container deposit amounts during that automatic creation, because the values are simply being copied from the purchase order. In addition, when container deposit quantities are updated, the module allows the related sales order to be updated even if it is normally locked.
It touches the purchase.order model and works together with the purchase-to-sale inter-company and container deposit modules. No new menus or screens are added; the change happens behind the scenes during the automatic document creation.
Depends on
Models and fields (1)
- purchase.order · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 16.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-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/multi-company.
terminal Installation and usage
No verified informationInstallation 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.
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.