purchase_sale_stock_inter_company
Extend intercompany purchase-to-sale flows to keep stock operations, warehouses, and tracking data aligned across companies.
Key Features
- res.company: Let each company set a default warehouse used on sale orders generated from purchase orders addressed to it.
- res.config.settings: Expose intercompany warehouse, picking sync, manual validation block, failure action, and notification options in settings.
- purchase.order: Populate generated intercompany sale orders with the correct shipping address and warehouse and recompute linked picking states for consistency.
- sale.order.line: Choose the customer stock location of the partner’s company when shipping to a partner tied to another company.
- stock.picking: Mirror and link intercompany delivery and reception states, propagate lot/quantity updates, and auto-validate the counterpart picking when sync is enabled.
- stock.picking: Block manual validation of intercompany receptions when the destination company requires it and notify a chosen user if automatic sync fails.
- stock.move.line: When move lines are created or edited as done, replicate quantities and lots to the corresponding intercompany purchase moves and ensure lots are shareable across companies.