Repository
OCA/multi-company · module folder · Try on Runboat
Module version
1.1.1
Category
Purchase Management
Folder size
0.18 MB
License
AGPL-3
Application
No
Auto-installable
Yes
Website
https://github.com/OCA/multi-company
Last tracking update
2026-08-07 08:42:59
Authors
Akretion, Odoo Community Association (OCA), Tecnativa
Maintainers
Akretion, Odoo Community Association (OCA), Tecnativa
Committers
Carlos Lopez, sergio-teruel, Weblate, OCA-git-bot, oca-ci, cyrilmanuel
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
rma_inter_company
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.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
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)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (5)
  • block_po_manual_picking_validation Boolean
    string='Block manual validation of picking in the destination company'
  • notify_user_id Many2one → res.users
    args: 'res.users', 'User to Notify'
  • sync_picking Boolean
    help='Sync the receipt from the destination company with the delivery from the source company' string='Sync the receipt with the delivery'
  • sync_picking_failure_action Selection
    default='raise' help='Pick action to perform on sync picking failure' string='On sync picking failure' args: SELECTION_SYNC_FAILURE_ACTIONS
  • warehouse_id Many2one → stock.warehouse
    help='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'
Public methods (0)

No public methods.

New fields (5)
  • block_po_manual_picking_validation Boolean
    readonly=False related='company_id.block_po_manual_picking_validation'
  • notify_user_id Many2one → res.users
    help='User to notify incase of sync picking failure.' readonly=False related='company_id.notify_user_id' args: 'res.users'
  • sync_picking Boolean
    help='Sync the receipt from the destination company with the delivery from the source company' readonly=False related='company_id.sync_picking' string='Sync the receipt from the destination company with the delivery'
  • sync_picking_failure_action Selection
    readonly=False related='company_id.sync_picking_failure_action'
  • warehouse_id Many2one → stock.warehouse
    comodel_name='stock.warehouse' help='Default value to set on Sale Orders that will be created based on Purchase Orders made to this company.' readonly=False related='company_id.warehouse_id' string='Warehouse for Sale Orders'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (2)
  • intercompany_picking_id Many2one → stock.picking
    comodel_name='stock.picking' copy=False
  • state Selection
    recursive=True
Public methods (1)
  • button_validate(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
188 days ago
Last activity
22 days ago
Repository
OCA/multi-company
Pull request
[19.0][MIG] purchase_sale_stock_inter_company (#945)