Inter Company Module for Purchase to Sale Order with warehouse
purchase_sale_stock_inter_company · OCA/multi-company
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by20/252 modules depend on it
-
Maturity25/25In 5 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Description
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.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- purchase_sale_lot_intercompany, rma_inter_company
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form |
res.config.settings | form | Inherits purchase_sale_inter_company.res_config_settings_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 8
No new fields.
Public methods (0)No public methods.
-
block_po_manual_picking_validationBooleanstring='Block manual validation of picking in the destination company' -
notify_user_idMany2one → res.usersargs: 'res.users', 'User to Notify' -
sync_pickingBooleanhelp='Sync the receipt from the destination company with the delivery from the source company'string='Sync the receipt with the delivery' -
sync_picking_failure_actionSelectiondefault='raise'help='Pick action to perform on sync picking failure'string='On sync picking failure' args: SELECTION_SYNC_FAILURE_ACTIONS -
warehouse_idMany2one → stock.warehousehelp='Default value to set on Sale Orders that will be created based on Purchase Orders made to this company'string='Warehouse For Sale Orders' args: 'stock.warehouse'
No public methods.
-
block_po_manual_picking_validationBooleanreadonly=Falserelated='company_id.block_po_manual_picking_validation' -
notify_user_idMany2one → res.usershelp='User to notify incase of sync picking failure.'readonly=Falserelated='company_id.notify_user_id' args: 'res.users' -
sync_pickingBooleanhelp='Sync the receipt from the destination company with the delivery from the source company'readonly=Falserelated='company_id.sync_picking'string='Sync the receipt from the destination company with the delivery' -
sync_picking_failure_actionSelectionreadonly=Falserelated='company_id.sync_picking_failure_action' -
warehouse_idMany2one → stock.warehousecomodel_name='stock.warehouse'help='Default value to set on Sale Orders that will be created based on Purchase Orders made to this company.'readonly=Falserelated='company_id.warehouse_id'string='Warehouse for Sale Orders'
No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (2)-
create(self, vals_list)@api.model_create_multi -
write(self, vals)
-
intercompany_picking_idMany2one → stock.pickingcomodel_name='stock.picking'copy=False -
stateSelectionrecursive=True
-
button_validate(self)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…