Repository
OCA/multi-company · module folder · Try on Runboat
Module version
1.0.1
Category
Tools
Folder size
0.08 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), GRAP
Maintainers
Odoo Community Association (OCA), GRAP
Committers
Saran440, Weblate, OCA-git-bot, oca-ci, Bhavesh Heliconia
Odoo dependencies
OCA/multi-company:
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
None
Description
In a big multi-company context, users often use a code to indentify the
differents companies.

- This module adds `code` fields on company model.

![](../static/description/res_company_form.png)

This field is optional, but should be unique, if defined.

- This code will prefix the name, in the Odoo Switch Company Menu
  widget:

![](../static/description/switch_company_menu.png)

- this module also change the order of the companies, ordering by code,
  then by company name. (instead of by sequence, then by name). It so
  hides the now useless field sequence.

![](../static/description/res_company_tree.png)

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_res_company_form res.company form Inherits base.view_company_form
view_res_company_kanban res.company kanban Inherits base.view_res_company_kanban
view_res_company_search res.company search Inherits res_company_search_view.view_res_company_search
view_res_company_tree res.company tree Inherits base.view_company_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • session_info(self)

New fields (1)
  • code Char
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
318 days ago
Last activity
31 days ago
Repository
OCA/multi-company
Pull request
[19.0] [MIG] res_company_code: Migration to 19.0 (#886)