Company Code
res_company_code · OCA/multi-company
Health
67/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 14 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 6 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis
1 migration note
2 models
4 views
0 HTTP endpoints
Migration considerations
ResCompany— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
In a big multi-company context, users often use a code to indentify the differents companies.
- This module adds
codefields on company model.

This field is optional, but should be unique, if defined.
- This code will prefix the name, in the Odoo Switch Company Menu widget:

- 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.

Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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)
-
codeChar
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…