Intercompany shared contact

intercompany_shared_contact
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/14.0/intercompany_shared_contact
VERSION
VERSION 1.1.3
CATEGORY
CATEGORYPartner
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSMiquel Raïch, Sébastien BEAU, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:51
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - contacts
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views 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)