Repository
OCA/multi-company · module folder · Try on Runboat
Module version
1.1.3
Category
Partner
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/multi-company
Last tracking update
2026-08-07 07:47:42
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
Miquel Raïch, Sébastien BEAU, Weblate, OCA-git-bot, oca-travis
Odoo dependencies
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
purchase_quick_intercompany
Description

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (2)
  • origin_company_id Many2one → res.company
    compute='_compute_origin_company_id' compute_sudo=True help="Hack field to keep the information of the 'real' company_id. That way, we can share the contact by setting company_id to null, without losing any information. If null, the contact is not shared." index=True store=True args: 'res.company'
  • res_company_id One2many → res.company
    help='Effectively a One2one field to represent the corresponding res.company' readonly=True args: 'res.company', 'partner_id'
Public methods (1)
  • check_field_access_rights(self, operation, fields)

New fields (0)

No new fields.

Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
  • onchange_company_id(self)
    @api.onchange('company_id')
  • write(self, vals)