Inter Company Module for Purchase to Sale Order with warehouse
This module is a glue module and is auto installed if purchase_sale_inter_company, sale_stock and purchase_stock modules are installed. Full purpose description can be found in purchase_sale_inter_company.
In addition to the features provided by purchase_sale_inter_company, which automatically creates inter-company Sale Orders from Purchase Orders, this module extends the functionality by automatically validating the corresponding inter-company receipts when the Delivery Order is confirmed. During this process, lot/serial numbers and quantities are synchronized to ensure consistency across companies.
The configuration includes an option to specify a default Warehouse that will be automatically assigned to Sale Orders generated from Purchase Orders addressed to this company.
When Company A sends a product tracked by lot or serial number, a new lot/serial number with the same name is created in Company B to match it, if one doesn't already exist.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Extends inter-company purchase-to-sale automation so that when a delivery is confirmed, the matching receipt in the other company is validated automatically, keeping lot/serial numbers and quantities in sync. Adds company-level settings for a default sale warehouse, sync behaviour and manual validation blocking.
This module works together with the inter-company purchase/sale automation. When a delivery order from the selling company is confirmed, the module automatically validates the corresponding receipt in the buying company, copying quantities and lot/serial numbers so both sides match.
In Settings, on the inter-company configuration screen, you can set: - A default Warehouse for Sale Orders generated from purchase orders addressed to the company. - Whether to sync the receipt with the delivery. - What to do if syncing fails: block with an error, or continue and create a warning activity for a chosen user. - Whether to block manual validation of the receipt picking in the destination company.
Business rules added: the receipt picking's status follows the delivery picking; manual validation of inter-company receipts or return deliveries can be blocked with an error; if syncing fails and the action is 'notify', an activity is scheduled for the configured user (or the salesperson).
It also handles returns: creating a return for an inter-company delivery automatically creates the matching return in the other company, keeping products, lots and quantities aligned. It touches purchase.order, sale.order.line, stock.picking, stock.move, stock.move.line, stock.return.picking, res.company and res.config.settings.
Depends on
Required by other modules
Models and fields (7)
- res.company · extends an existing modelsync_picking (Sync the receipt with the delivery), warehouse_id (Warehouse For Sale Orders), notify_user_id, sync_picking_failure_action (On sync picking failure), block_po_manual_picking_validation (Block manual validation of picking in the destination company)
- stock.picking · extends an existing modelstate, intercompany_picking_id
- purchase.order · extends an existing model
- sale.order.line · extends an existing model
- stock.move.line · extends an existing model
- res.config.settings · extends an existing modelsync_picking (Sync the receipt from the destination company with the delivery), warehouse_id (Warehouse for Sale Orders), notify_user_id, sync_picking_failure_action, block_po_manual_picking_validation
- stock.return.picking · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 18.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: 5 confirmed, 4 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/multi-company.
terminal Installation and usage
OCA documentation · Odoo 18.0Configuration
Source · Odoo 18.0To configure this module, you need to: #. Go to the menu Settings \> General Settings. #. Go to the tab Companies / Inter Company OCA features, in the group Purchase/Sale, check the option Sale from purchase. #. Then, select the Warehouse for Sale Orders, it is the warehouse that will be used to automatically generate the sale order in the other company.
- If you check the option "Sync picking" (for both companies), validating a picking generated by an inter-company purchase/sale will validate the respective picking for the other company.
- If you check the option "Block manual validation of picking in the destination company" is not possible to validate manually the picking in the destination company.
No verified information in OCA: Installation, Usage.
Installation 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.