Repository
OCA/multi-company · module folder · Try on Runboat
Module version
1.0.3
Category
Partner Management
Folder size
0.07 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/multi-company
Last tracking update
2026-08-07 08:42:59
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Carlos Lopez, Simone Rubino, Weblate, OCA-git-bot, oca-ci, christian-ramos-tecnativa, Arnau
Odoo dependencies
OCA/multi-company:
Python dependencies
None
System dependencies
None
Required by
None
Description
This modules allows to select in which of the companies you want to use
each of the partners. These companies will also be assigned to the partner
bank accounts.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_partner_view_form Partner template form view (with multi-company) res.partner form Inherits base.view_partner_form
view_partner_bank_form res.partner.bank.form res.partner.bank form Inherits base.view_partner_bank_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (0)

No new fields.

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

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi
    Neutralize the default value applied to company_id that can't be removed in the inheritance, and that will activate the inverse method, overwriting our company_ids field desired value.

New fields (1)
  • company_ids Many2many
    related='partner_id.company_ids' string='Companies'
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)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…