Inter Company Module for Purchase to Sale Order

purchase_sale_inter_company
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/19.0/purchase_sale_inter_company
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion, Odoo SA
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion, Odoo SA
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, JasminSForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:47
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - account_invoice_inter_company
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module is useful if there are multiple companies in the same Odoo
database and those companies sell goods or services among themselves. It
allows to create a sale order in company A from a purchase order in
company B.

Imagine you have company A and company B in the same Odoo database:

- Company A purchase goods from company B.
- Company A will create a purchase order with company B as supplier.
- This module automate the creation of the sale order in company B with
  company A as customer.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings xpath Inherits account_invoice_inter_company.res_config_settings_view_form
Models touched (7)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • intercompany_sale_order_id Many2one → sale.order
    comodel_name='sale.order' compute='_compute_intercompany_sale_order_id' compute_sudo=True
Public methods (2)
  • button_approve(self, force=False)
    Generate inter company sale order base on conditions.
  • button_cancel(self)

New fields (1)
  • intercompany_sale_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' compute='_compute_intercompany_sale_line_id' compute_sudo=True
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
    Sync lines between an confirmed unlocked purchase and a confirmed unlocked sale order
  • write(self, vals)
    Sync values of confirmed unlocked sales

New fields (3)
  • intercompany_sale_user_id Many2one → res.users
    comodel_name='res.users' string='Intercompany Sale User'
  • sale_auto_validation Boolean
    default=True help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it.' string='Sale Orders Auto Validation'
  • so_from_po Boolean
    help='Generate a Sale Order when a Purchase Order with this company as supplier is created.\n The intercompany user must at least be Sale User.' string='Create Sale Orders when buying to this company'
Public methods (0)

No public methods.

New fields (3)
  • intercompany_sale_user_id Many2one → res.users
    comodel_name='res.users' help='User used to create the sales order arising from a purchase order in another company.' readonly=False related='company_id.intercompany_sale_user_id' string='Intercompany Sale User'
  • sale_auto_validation Boolean
    help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it.' readonly=False related='company_id.sale_auto_validation' string='Sale Orders Auto Validation'
  • so_from_po Boolean
    help='Generate a Sale Order when a Purchase Order with this company as supplier is created.\n The intercompany user must at least be Sale User.' readonly=False related='company_id.so_from_po' string='Create Sale Orders when buying to this company'
Public methods (0)

No public methods.

New fields (1)
  • auto_purchase_order_id Many2one → purchase.order
    comodel_name='purchase.order' copy=False readonly=True string='Source Purchase Order'
Public methods (1)
  • action_confirm(self)

New fields (1)
  • auto_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' copy=False readonly=True string='Source Purchase Order Line'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/18.0/purchase_sale_inter_company
VERSION
VERSION 1.0.5
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion, Odoo SA
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion, Odoo SA
COMMITTERS
COMMITTERSCarlos Lopez, Weblate, OCA-git-bot, oca-ci, Guillaume MASSON, juancarlosonate-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - account_invoice_inter_company
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module is useful if there are multiple companies in the same Odoo
database and those companies sell goods or services among themselves. It
allows to create a sale order in company A from a purchase order in
company B.

Imagine you have company A and company B in the same Odoo database:

- Company A purchase goods from company B.
- Company A will create a purchase order with company B as supplier.
- This module automate the creation of the sale order in company B with
  company A as customer.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings xpath Inherits account_invoice_inter_company.res_config_settings_view_form
Models touched (7)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • intercompany_sale_order_id Many2one → sale.order
    comodel_name='sale.order' compute='_compute_intercompany_sale_order_id' compute_sudo=True
Public methods (2)
  • button_approve(self, force=False)
    Generate inter company sale order base on conditions.
  • button_cancel(self)

New fields (1)
  • intercompany_sale_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' compute='_compute_intercompany_sale_line_id' compute_sudo=True
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
    Sync lines between an confirmed unlocked purchase and a confirmed unlocked sale order
  • write(self, vals)
    Sync values of confirmed unlocked sales

New fields (3)
  • intercompany_sale_user_id Many2one → res.users
    comodel_name='res.users' string='Intercompany Sale User'
  • sale_auto_validation Boolean
    default=True help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it.' string='Sale Orders Auto Validation'
  • so_from_po Boolean
    help='Generate a Sale Order when a Purchase Order with this company as supplier is created.\n The intercompany user must at least be Sale User.' string='Create Sale Orders when buying to this company'
Public methods (0)

No public methods.

New fields (3)
  • intercompany_sale_user_id Many2one → res.users
    comodel_name='res.users' help='User used to create the sales order arising from a purchase order in another company.' readonly=False related='company_id.intercompany_sale_user_id' string='Intercompany Sale User'
  • sale_auto_validation Boolean
    help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it.' readonly=False related='company_id.sale_auto_validation' string='Sale Orders Auto Validation'
  • so_from_po Boolean
    help='Generate a Sale Order when a Purchase Order with this company as supplier is created.\n The intercompany user must at least be Sale User.' readonly=False related='company_id.so_from_po' string='Create Sale Orders when buying to this company'
Public methods (0)

No public methods.

New fields (1)
  • auto_purchase_order_id Many2one → purchase.order
    comodel_name='purchase.order' copy=False readonly=True string='Source Purchase Order'
Public methods (1)
  • action_confirm(self)

New fields (1)
  • auto_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' copy=False readonly=True string='Source Purchase Order Line'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/17.0/purchase_sale_inter_company
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion, Odoo SA
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion, Odoo SA
COMMITTERS
COMMITTERSCarlos Lopez, OCA-git-bot, oca-ci, Cuong, Nguyen Minh Tran Manh
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - account_invoice_inter_company
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module is useful if there are multiple companies in the same Odoo
database and those companies sell goods or services among themselves. It
allows to create a sale order in company A from a purchase order in
company B.

Imagine you have company A and company B in the same Odoo database:

- Company A purchase goods from company B.
- Company A will create a purchase order with company B as supplier.
- This module automate the creation of the sale order in company B with
  company A as customer.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings xpath Inherits account_invoice_inter_company.res_config_settings_view_form
Models touched (7)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • intercompany_sale_order_id Many2one → sale.order
    comodel_name='sale.order' compute='_compute_intercompany_sale_order_id' compute_sudo=True
Public methods (2)
  • button_approve(self, force=False)
    Generate inter company sale order base on conditions.
  • button_cancel(self)

New fields (1)
  • intercompany_sale_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' compute='_compute_intercompany_sale_line_id' compute_sudo=True
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
    Sync lines between an confirmed unlocked purchase and a confirmed unlocked sale order
  • write(self, vals)
    Sync values of confirmed unlocked sales

New fields (3)
  • intercompany_sale_user_id Many2one → res.users
    comodel_name='res.users' string='Intercompany Sale User'
  • sale_auto_validation Boolean
    default=True help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it.' string='Sale Orders Auto Validation'
  • so_from_po Boolean
    help='Generate a Sale Order when a Purchase Order with this company as supplier is created.\n The intercompany user must at least be Sale User.' string='Create Sale Orders when buying to this company'
Public methods (0)

No public methods.

New fields (3)
  • intercompany_sale_user_id Many2one → res.users
    comodel_name='res.users' help='User used to create the sales order arising from a purchase order in another company.' readonly=False related='company_id.intercompany_sale_user_id' string='Intercompany Sale User'
  • sale_auto_validation Boolean
    help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it.' readonly=False related='company_id.sale_auto_validation' string='Sale Orders Auto Validation'
  • so_from_po Boolean
    help='Generate a Sale Order when a Purchase Order with this company as supplier is created.\n The intercompany user must at least be Sale User.' readonly=False related='company_id.so_from_po' string='Create Sale Orders when buying to this company'
Public methods (0)

No public methods.

New fields (1)
  • auto_purchase_order_id Many2one → purchase.order
    comodel_name='purchase.order' copy=False readonly=True string='Source Purchase Order'
Public methods (1)
  • action_confirm(self)

New fields (1)
  • auto_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' copy=False readonly=True string='Source Purchase Order Line'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/16.0/purchase_sale_inter_company
VERSION
VERSION 1.1.4
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion, Odoo SA
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion, Odoo SA
COMMITTERS
COMMITTERSJordi Ballester Alomar, Víctor Martínez, JordiMForgeFlow, Weblate, OCA-git-bot, David, oca-ci, duongtq, Marina Alapont
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:42
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - account_invoice_inter_company
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings xpath Inherits account_invoice_inter_company.res_config_settings_view_form
Models touched (7)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • intercompany_sale_order_id Many2one → sale.order
    comodel_name='sale.order' compute='_compute_intercompany_sale_order_id' compute_sudo=True
Public methods (2)
  • button_approve(self, force=False)
    Generate inter company sale order base on conditions.
  • button_cancel(self)

New fields (1)
  • intercompany_sale_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' compute='_compute_intercompany_sale_line_id' compute_sudo=True
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
    Sync lines between an confirmed unlocked purchase and a confirmed unlocked sale order
  • write(self, vals)
    Sync values of confirmed unlocked sales

New fields (3)
  • intercompany_sale_user_id Many2one → res.users
    comodel_name='res.users' string='Intercompany Sale User'
  • sale_auto_validation Boolean
    default=True help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it.' string='Sale Orders Auto Validation'
  • so_from_po Boolean
    help='Generate a Sale Order when a Purchase Order with this company as supplier is created.\n The intercompany user must at least be Sale User.' string='Create Sale Orders when buying to this company'
Public methods (0)

No public methods.

New fields (3)
  • intercompany_sale_user_id Many2one → res.users
    comodel_name='res.users' help='User used to create the sales order arising from a purchase order in another company.' readonly=False related='company_id.intercompany_sale_user_id' string='Intercompany Sale User'
  • sale_auto_validation Boolean
    help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it.' readonly=False related='company_id.sale_auto_validation' string='Sale Orders Auto Validation'
  • so_from_po Boolean
    help='Generate a Sale Order when a Purchase Order with this company as supplier is created.\n The intercompany user must at least be Sale User.' readonly=False related='company_id.so_from_po' string='Create Sale Orders when buying to this company'
Public methods (0)

No public methods.

New fields (1)
  • auto_purchase_order_id Many2one → purchase.order
    comodel_name='purchase.order' copy=False readonly=True string='Source Purchase Order'
Public methods (1)
  • action_confirm(self)

New fields (1)
  • auto_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' copy=False readonly=True string='Source Purchase Order Line'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/15.0/purchase_sale_inter_company
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion, Odoo SA
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion, Odoo SA
COMMITTERS
COMMITTERSMiquel Raïch, JordiMForgeFlow, Weblate, OCA-git-bot, David, oca-ci, JasminSForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:30
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - account_invoice_inter_company
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings xpath Inherits account_invoice_inter_company.res_config_settings_view_form
Models touched (7)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • intercompany_sale_order_id Many2one → sale.order
    comodel_name='sale.order' compute='_compute_intercompany_sale_order_id' compute_sudo=True
Public methods (2)
  • button_approve(self, force=False)
    Generate inter company sale order base on conditions.
  • button_cancel(self)

New fields (1)
  • intercompany_sale_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' compute='_compute_intercompany_sale_line_id' compute_sudo=True
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
    Sync lines between an confirmed unlocked purchase and a confirmed unlocked sale order
  • write(self, vals)
    Sync values of confirmed unlocked sales

New fields (3)
  • intercompany_sale_user_id Many2one → res.users
    comodel_name='res.users' string='Intercompany Sale User'
  • sale_auto_validation Boolean
    default=True help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it.' string='Sale Orders Auto Validation'
  • so_from_po Boolean
    help='Generate a Sale Order when a Purchase Order with this company as supplier is created.\n The intercompany user must at least be Sale User.' string='Create Sale Orders when buying to this company'
Public methods (0)

No public methods.

New fields (3)
  • intercompany_sale_user_id Many2one → res.users
    comodel_name='res.users' help='User used to create the sales order arising from a purchase order in another company.' readonly=False related='company_id.intercompany_sale_user_id' string='Intercompany Sale User'
  • sale_auto_validation Boolean
    help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it.' readonly=False related='company_id.sale_auto_validation' string='Sale Orders Auto Validation'
  • so_from_po Boolean
    help='Generate a Sale Order when a Purchase Order with this company as supplier is created.\n The intercompany user must at least be Sale User.' readonly=False related='company_id.so_from_po' string='Create Sale Orders when buying to this company'
Public methods (0)

No public methods.

New fields (1)
  • auto_purchase_order_id Many2one → purchase.order
    comodel_name='purchase.order' copy=False readonly=True string='Source Purchase Order'
Public methods (1)
  • action_confirm(self)

New fields (1)
  • auto_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' copy=False readonly=True string='Source Purchase Order Line'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/14.0/purchase_sale_inter_company
VERSION
VERSION 2.4.1
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion, Odoo SA
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion, Odoo SA
COMMITTERS
COMMITTERSOCA Transbot, JordiMForgeFlow, Sébastien BEAU, oca-travis, Weblate, OCA-git-bot, Tom Blauwendraat, Simone Rubino, Pierrick Brun, Tom, David, oca-ci, Alessandro Uffreduzzi, Ilyas, oca-git-bot, Alessio Renda, Kev-Roche, Christian-RB, Eduard Brahas
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:51
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - account_invoice_inter_company
odoo/odoo:
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
    - stock_account
    - stock
    - barcodes
    - purchase_stock
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings xpath Inherits account_invoice_inter_company.res_config_settings_view_form
view_backorder_confirmation_inherit stock_backorder_confirmation_inherit stock.backorder.confirmation xpath Inherits stock.view_backorder_confirmation
Models touched (11)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • intercompany_sale_order_id Many2one → sale.order
    comodel_name='sale.order' compute='_compute_intercompany_sale_order_id' compute_sudo=True
Public methods (2)
  • button_approve(self, force=False)
    Generate inter company sale order base on conditions.
  • button_cancel(self)

New fields (1)
  • intercompany_sale_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' compute='_compute_intercompany_sale_line_id' compute_sudo=True
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
    Sync lines between an confirmed unlocked purchase and a confirmed unlocked sale order
  • write(self, vals)
    Sync values of confirmed unlocked sales

New fields (8)
  • block_po_manual_picking_validation Boolean
    string='Block manual validation of picking in the destination company'
  • intercompany_sale_user_id Many2one → res.users
    comodel_name='res.users' string='Intercompany Sale User'
  • notify_user_id Many2one → res.users
    args: 'res.users', 'User to Notify'
  • sale_auto_validation Boolean
    default=True help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it.' string='Sale Orders Auto Validation'
  • so_from_po Boolean
    help='Generate a Sale Order when a Purchase Order with this company as supplier is created.\n The intercompany user must at least be Sale User.' string='Create Sale Orders when buying to this company'
  • 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 (8)
  • block_po_manual_picking_validation Boolean
    readonly=False related='company_id.block_po_manual_picking_validation'
  • intercompany_sale_user_id Many2one → res.users
    comodel_name='res.users' help='User used to create the sales order arising from a purchase order in another company.' readonly=False related='company_id.intercompany_sale_user_id' string='Intercompany Sale User'
  • 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'
  • sale_auto_validation Boolean
    help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it.' readonly=False related='company_id.sale_auto_validation' string='Sale Orders Auto Validation'
  • so_from_po Boolean
    help='Generate a Sale Order when a Purchase Order with this company as supplier is created.\n The intercompany user must at least be Sale User.' readonly=False related='company_id.so_from_po' string='Create Sale Orders when buying to this company'
  • 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 (1)
  • auto_purchase_order_id Many2one → purchase.order
    comodel_name='purchase.order' copy=False readonly=True string='Source Purchase Order'
Public methods (1)
  • action_confirm(self)

New fields (1)
  • auto_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' copy=False readonly=True string='Source Purchase Order Line'
Public methods (0)

No public methods.

New fields (2)
  • force_backorder Boolean
    default=False string='Force backorder'
  • force_no_backorder Boolean
    default=False string='Force No backorder'
Public methods (1)
  • default_get(self, fields)
    @api.model

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 (1)
  • intercompany_picking_id Many2one → stock.picking
    comodel_name='stock.picking' copy=False
Public methods (1)
  • button_validate(self)
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/13.0/purchase_sale_inter_company
VERSION
VERSION 1.0.7
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion, Odoo SA
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion, Odoo SA
COMMITTERS
COMMITTERSPedro M. Baeza, david, Carlos Lopez, Jordi Ballester Alomar, OCA Transbot, JordiMForgeFlow, AaronHForgeFlow, oca-travis, Weblate, OCA-git-bot, Kevin Graveman, Kitti U, Carolina Fernandez
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - account_invoice_inter_company
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
    - purchase
    - stock
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings xpath Inherits account_invoice_inter_company.res_config_settings_view_form
Models touched (6)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • button_approve(self, force=False)
    Generate inter company sale order base on conditions.
  • button_cancel(self)

New fields (3)
  • intercompany_sale_user_id Many2one → res.users
    comodel_name='res.users' old_name='intercompany_user_id' string='Intercompany Sale User'
  • sale_auto_validation Boolean
    default=True help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it.' string='Sale Orders Auto Validation'
  • so_from_po Boolean
    help='Generate a Sale Order when a Purchase Order with this company as supplier is created.\n The intercompany user must at least be Sale User.' string='Create Sale Orders when buying to this company'
Public methods (0)

No public methods.

New fields (3)
  • intercompany_sale_user_id Many2one → res.users
    comodel_name='res.users' help='User used to create the sales order arising from a purchase order in another company.' readonly=False related='company_id.intercompany_sale_user_id' string='Intercompany Sale User'
  • sale_auto_validation Boolean
    help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it.' readonly=False related='company_id.sale_auto_validation' string='Sale Orders Auto Validation'
  • so_from_po Boolean
    help='Generate a Sale Order when a Purchase Order with this company as supplier is created.\n The intercompany user must at least be Sale User.' readonly=False related='company_id.so_from_po' string='Create Sale Orders when buying to this company'
Public methods (0)

No public methods.

New fields (1)
  • auto_purchase_order_id Many2one → purchase.order
    comodel_name='purchase.order' copy=False readonly=True string='Source Purchase Order'
Public methods (1)
  • action_confirm(self)

New fields (1)
  • auto_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' copy=False readonly=True string='Source Purchase Order Line'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/12.0/purchase_sale_inter_company
VERSION
VERSION 1.3.2
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion, Odoo SA
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion, Odoo SA
COMMITTERS
COMMITTERSeLBati, Sylvain LE GAL, david, OCA Transbot, Miquel Raïch, oca-travis, Weblate, OCA-git-bot, Mourad, oca-ci, Enrique, Martin Pishpecki
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - account_invoice_inter_company
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - decimal_precision
    - uom
    - analytic
    - portal
    - http_routing
    - digest
    - purchase
    - stock
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings xpath Inherits account_invoice_inter_company.res_config_settings_view_form
view_backorder_confirmation_inherit stock_backorder_confirmation_inherit stock.backorder.confirmation xpath Inherits stock.view_backorder_confirmation
Models touched (11)

New fields (0)

No new fields.

Public methods (1)
  • inter_company_create_invoice(self, dest_company, dest_inv_type, dest_journal_type)
    @api.multi

New fields (1)
  • auto_sale_order_id Many2one → sale.order
    comodel_name='sale.order' copy=False readonly=True string='Source Sale Order'
Public methods (2)
  • button_approve(self, force=False)
    @api.multi
    Generate inter company sale order base on conditions.
  • button_cancel(self)
    @api.multi

New fields (1)
  • auto_sale_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' copy=False readonly=True string='Source Sale Order Line'
Public methods (0)

No public methods.

New fields (9)
  • intercompany_overwrite_purchase_price Boolean
    default=True help='If not selected intercompany sale order line prices will be compared with their respective purchase order line prices and an error will be raised if not equal. If selected, no comparison will be done and SO line price will be copied to the PO line price.' string='Synchronise prices on SO confirmation'
  • intercompany_user_id Many2one → res.users
    comodel_name='res.users' string='Intercompany User'
  • po_from_so Boolean
    help='Generate a Purchase Order when a Sale Order with this company as customer is created.\n The intercompany user must at least be Purchase User.' string='Create Purchase Orders when selling to this company'
  • po_picking_type_id Many2one → stock.picking.type
    help='Default value to set on Purchase Orders ("Deliver To" field) that will be created based on Sale Orders made to this company.' string='Picking type for Purchase Orders' args: 'stock.picking.type'
  • purchase_auto_validation Boolean
    default=True help='When a Purchase Order is created by a multi company rule for this company, it will automatically validate it.' string='Purchase Orders Auto Validation'
  • sale_auto_validation Boolean
    default=True help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it.' string='Sale Orders Auto Validation'
  • so_from_po Boolean
    help='Generate a Sale Order when a Purchase Order with this company as supplier is created.\n The intercompany user must at least be Sale User.' string='Create Sale Orders when buying to this company'
  • 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'
  • 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 (9)
  • intercompany_overwrite_purchase_price Boolean
    help='If unchecked intercompany sale order line prices will be compared with their respective purchase order line prices and an error will be raised if not equal. If selected, no comparison will be done and SO line price will be copied to the PO line price.' readonly=False related='company_id.intercompany_overwrite_purchase_price' string='Synchronise prices on SO confirmation'
  • intercompany_user_id Many2one → res.users
    comodel_name='res.users' readonly=False related='company_id.intercompany_user_id' string='Intercompany User'
  • po_from_so Boolean
    help='Generate a Purchase Order when a Sale Order with this company as customer is created.\n The intercompany user must at least be Purchase User.' readonly=False related='company_id.po_from_so' string='Create Purchase Orders when selling to this company'
  • po_picking_type_id Many2one → stock.picking.type
    comodel_name='stock.picking.type' help='Default value to set on Purchase Orders ("Deliver To" field) that will be created based on Sale Orders made to this company.' readonly=False related='company_id.po_picking_type_id' string='Picking type for Purchase Orders'
  • purchase_auto_validation Boolean
    help='When a Purchase Order is created by a multi company rule for this company, it will automatically validate it.' readonly=False related='company_id.purchase_auto_validation' string='Purchase Orders Auto Validation'
  • sale_auto_validation Boolean
    help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it.' readonly=False related='company_id.sale_auto_validation' string='Sale Orders Auto Validation'
  • so_from_po Boolean
    help='Generate a Sale Order when a Purchase Order with this company as supplier is created.\n The intercompany user must at least be Sale User.' readonly=False related='company_id.so_from_po' string='Create Sale Orders when buying to this company'
  • 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'
  • 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 (1)
  • auto_purchase_order_id Many2one → purchase.order
    comodel_name='purchase.order' copy=False readonly=True string='Source Purchase Order'
Public methods (3)
  • action_cancel(self)
    @api.multi
  • action_confirm(self)
    @api.multi
  • assert_intercompany_prices_equal(self)
    Check if the prices of both orders are the same

New fields (1)
  • auto_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' copy=False readonly=True string='Source Purchase Order Line'
Public methods (0)

No public methods.

New fields (2)
  • force_backorder Boolean
    default=False string='Force backorder'
  • force_no_backorder Boolean
    default=False string='Force No backorder'
Public methods (1)
  • default_get(self, fields)
    @api.model

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 (1)
  • intercompany_picking_id Many2one → stock.picking
    comodel_name='stock.picking' copy=False
Public methods (3)
  • action_done(self)
    @api.multi
  • action_generate_backorder_wizard(self)
  • button_validate(self)
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/11.0/purchase_sale_inter_company
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion, Odoo SA
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion, Odoo SA
COMMITTERS
COMMITTERSdavid, OCA Transbot, oca-travis, David
WEBSITE
WEBSITEhttp://www.github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - account_invoice_inter_company
OCA/server-tools:
    - onchange_helper
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - analytic
    - web_planner
    - portal
    - http_routing
    - purchase
    - stock_account
    - stock
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_general_configuration_purchase_sale_inter_company res.config.settings xpath Inherits account_invoice_inter_company.view_general_configuration_account_invoice_inter_company
Models touched (7)

New fields (0)

No new fields.

Public methods (1)
  • inter_company_create_invoice(self, dest_company, dest_inv_type, dest_journal_type)
    @api.multi

New fields (0)

No new fields.

Public methods (2)
  • button_approve(self, force=False)
    @api.multi
    Generate inter company sale order base on conditions.
  • button_cancel(self)
    @api.multi

New fields (4)
  • intercompany_user_id Many2one → res.users
    comodel_name='res.users' string='Intercompany User'
  • sale_auto_validation Boolean
    default=True help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it.' string='Sale Orders Auto Validation'
  • so_from_po Boolean
    help='Generate a Sale Order when a Purchase Order with this company as supplier is created.\n The intercompany user must at least be Sale User.' string='Create Sale Orders when buying to this company'
  • 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 (4)
  • intercompany_user_id Many2one → res.users
    comodel_name='res.users' related='company_id.intercompany_user_id' string='Intercompany User'
  • sale_auto_validation Boolean
    help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it.' related='company_id.sale_auto_validation' string='Sale Orders Auto Validation'
  • so_from_po Boolean
    help='Generate a Sale Order when a Purchase Order with this company as supplier is created.\n The intercompany user must at least be Sale User.' related='company_id.so_from_po' string='Create Sale Orders when buying to this company'
  • 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.' related='company_id.warehouse_id' string='Warehouse For Sale Orders'
Public methods (0)

No public methods.

New fields (1)
  • auto_purchase_order_id Many2one → purchase.order
    comodel_name='purchase.order' copy=False readonly=True string='Source Purchase Order'
Public methods (1)
  • action_confirm(self)
    @api.multi

New fields (1)
  • auto_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' copy=False readonly=True string='Source Purchase Order Line'
Public methods (0)

No public methods.

New fields (1)
  • intercompany_picking_id Many2one → stock.picking
    comodel_name='stock.picking'
Public methods (1)
  • do_transfer(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/10.0/purchase_sale_inter_company
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Odoo SA
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Odoo SA
COMMITTERS
COMMITTERSoca-travis, chafique-delli, Chafique
WEBSITE
WEBSITEhttp://www.odoo.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:54
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - account_invoice_inter_company
OCA/server-tools:
    - onchange_helper
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_planner
    - procurement
    - purchase
    - stock_account
    - stock
    - barcodes
    - account_accountant
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
purchase_order_form purchase.order xpath Inherits purchase.purchase_order_form
view_company_inter_change_inherit_form res.company xpath Inherits account_invoice_inter_company.view_company_inter_change_inherit_form
view_sales_config sale.config.settings xpath Inherits sale.view_sales_config
Models touched (6)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • invoice_status Selection
    selection_add=[('intercompany', 'Based on intercompany invoice')]
Public methods (2)
  • button_cancel(self)
    @api.multi
  • button_confirm(self)
    @api.multi
    Generate inter company sale order base on conditions.

New fields (2)
  • sale_auto_validation Boolean
    default=True help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it' string='Sale Auto Validation'
  • 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 (2)
  • sale_auto_validation Boolean
    help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it.' related='company_id.sale_auto_validation' string='Sale Orders Auto Validation'
  • warehouse_id Many2one
    help='Default value to set on Sale Orders that will be created based on Purchase Orders made to this company.' related='company_id.warehouse_id' string='Warehouse For Sale Orders'
Public methods (0)

No public methods.

New fields (1)
  • auto_purchase_order_id Many2one → purchase.order
    copy=False readonly=True string='Source Purchase Order' args: 'purchase.order'
Public methods (1)
  • action_confirm(self)
    @api.multi

New fields (1)
  • auto_purchase_line_id Many2one → purchase.order.line
    copy=False readonly=True string='Source Purchase Order Line' args: 'purchase.order.line'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/8.0/purchase_sale_inter_company
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Odoo SA
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Odoo SA
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, chafique-delli
WEBSITE
WEBSITEhttp://www.odoo.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - account_invoice_inter_company
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - web_kanban_sparkline
    - account_voucher
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - board
    - edi
    - email_template
    - procurement
    - purchase
    - stock_account
    - stock
    - web_kanban_gauge
    - account_accountant
    - multi_company
    - sale_stock
    - project
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
purchase_order_form_account_invoice_inter_company purchase.order xpath Inherits purchase.purchase_order_form
view_company_inter_change_inherit_form res.company xpath Inherits account_invoice_inter_company.view_company_inter_change_inherit_form
view_general_configuration_purchase_sale_inter_company base.config.settings xpath Inherits account_invoice_inter_company.view_general_configuration_account_invoice_inter_company
Models touched (6)

New fields (0)

No new fields.

Public methods (1)
  • inter_company_create_invoice(self, dest_company, dest_inv_type, dest_journal_type)
    @api.multi

New fields (2)
  • sale_auto_validation Boolean
    help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it.' string='Sale Orders Auto Validation'
  • 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 (2)
  • onchange_po_so_company_id(self)
    @api.onchange('company_id')
  • set_po_so_inter_company_configuration(self)
    @api.multi

New fields (1)
  • invoice_method Selection
    selection_add=[('intercompany', 'Based on intercompany invoice')]
Public methods (2)
  • action_cancel(self)
    @api.multi
  • wkf_confirm_order(self)
    @api.multi
    Generate inter company sale order base on conditions.

New fields (2)
  • sale_auto_validation Boolean
    default=True help='When a Sale Order is created by a multi company rule for this company, it will automatically validate it' string='Sale Auto Validation'
  • 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 (1)
  • auto_purchase_order_id Many2one → purchase.order
    copy=False readonly=True string='Source Purchase Order' args: 'purchase.order'
Public methods (1)
  • signal_workflow(self, signal)
    @api.multi

New fields (1)
  • auto_purchase_line_id Many2one → purchase.order.line
    copy=False readonly=True string='Source Purchase Order Line' args: 'purchase.order.line'
Public methods (0)

No public methods.