| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-backend |
| GIT | |
| GIT | https://github.com/OCA/server-backend.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-backend/tree/18.0/base_user_role_company |
| VERSION | |
| VERSION | 1.0.2 |
| CATEGORY | |
| CATEGORY | Tools |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Open Source Integrators |
| MAINTAINERS | |
| MAINTAINERS | dreispt |
| COMMITTERS | |
| COMMITTERS | GitHub, Weblate, OCA-git-bot, oca-ci, Maksym Yankin, tom.vermeeren |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/server-backend |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:20 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/server-backend: - base_user_role odoo/odoo: - base |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | Enable User Roles depending on the Companies selected. A company specific Role will only be enabled if it is set for **all** the currently selected companies. For example, if a user is "Sales Manager" only for Company A, it will see that role enabled only if Company A is selected. If the user selects Company A and Company B, then the "Sales Manager" role won't be enabled. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_res_users_form_inherit |
res.users.form.inherit | res.users | field | Inherits base_user_role.view_res_users_form_inherit |
view_res_users_form_inherit_company |
res.users.form.inherit.company | res.users | field | Inherits base_user_role.view_res_users_form_inherit |
No new fields.
Public methods (1)session_info(self)
No new fields.
Public methods (1)authenticate(cls, db, credential, user_agent_env)
allowed_company_ids
Many2many
related='user_id.company_ids'
company_id
Many2one → res.company
domain="[('id', 'in', allowed_company_ids)]"
help='If set, this role only applies when this is the main company selected. Otherwise it applies to all companies.'
args: 'res.company', 'Company'
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-backend |
| GIT | |
| GIT | https://github.com/OCA/server-backend.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-backend/tree/17.0/base_user_role_company |
| VERSION | |
| VERSION | 1.2.0 |
| CATEGORY | |
| CATEGORY | Tools |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | Yes |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Open Source Integrators |
| MAINTAINERS | |
| MAINTAINERS | dreispt |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, OCA-git-bot, oca-ci, David Ramia, Jérémy Didderen, Robin Conjour, Benoît Fontaine |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/server-backend |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:20:11 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/server-backend: - base_user_role odoo/odoo: - base |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | Enable User Roles depending on the Companies selected. A company specific Role will only be enabled if it is set for **all** the currently selected companies. For example, if a user is "Sales Manager" only for Company A, it will see that role enabled only if Company A is selected. If the user selects Company A and Company B, then the "Sales Manager" role won't be enabled. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_res_users_form_inherit |
res.users.form.inherit | res.users | field | Inherits base_user_role.view_res_users_form_inherit |
view_res_users_form_inherit_company |
res.users.form.inherit.company | res.users | field | Inherits base_user_role.view_res_users_form_inherit |
No new fields.
Public methods (1)session_info(self)
No new fields.
Public methods (1)authenticate(cls, db, login, password, user_agent_env)
allowed_company_ids
Many2many
related='user_id.company_ids'
company_id
Many2one → res.company
domain="[('id', 'in', allowed_company_ids)]"
help='If set, this role only applies when this is the main company selected. Otherwise it applies to all companies.'
args: 'res.company', 'Company'
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-backend |
| GIT | |
| GIT | https://github.com/OCA/server-backend.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-backend/tree/16.0/base_user_role_company |
| VERSION | |
| VERSION | 1.2.2 |
| CATEGORY | |
| CATEGORY | Tools |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Open Source Integrators |
| MAINTAINERS | |
| MAINTAINERS | dreispt |
| COMMITTERS | |
| COMMITTERS | Sylvain LE GAL, Enric Tobella, Sébastien Alix, Weblate, OCA-git-bot, Benjamin Willig, oca-ci, Jérémy Didderen, Urvisha-OSI |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/server-backend |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:54:00 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/server-backend: - base_user_role odoo/odoo: - base |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_res_users_form_inherit |
res.users.form.inherit | res.users | field | Inherits base_user_role.view_res_users_form_inherit |
view_res_users_form_inherit_company |
res.users.form.inherit.company | res.users | field | Inherits base_user_role.view_res_users_form_inherit |
No new fields.
Public methods (1)session_info(self)
No new fields.
Public methods (1)authenticate(cls, db, login, password, user_agent_env)
allowed_company_ids
Many2many
related='user_id.company_ids'
company_id
Many2one → res.company
domain="[('id', 'in', allowed_company_ids)]"
help='If set, this role only applies when this is the main company selected. Otherwise it applies to all companies.'
args: 'res.company', 'Company'
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-backend |
| GIT | |
| GIT | https://github.com/OCA/server-backend.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-backend/tree/14.0/base_user_role_company |
| VERSION | |
| VERSION | 2.0.2 |
| CATEGORY | |
| CATEGORY | Tools |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | Yes |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Open Source Integrators |
| MAINTAINERS | |
| MAINTAINERS | dreispt |
| COMMITTERS | |
| COMMITTERS | Daniel Reis, Andrii Skrypka, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Jérémy Didderen |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/server-backend |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:41:12 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/server-backend: - base_user_role odoo/odoo: - base |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_res_users_form_inherit_company |
res.users.form.inherit.company | res.users | field | Inherits base_user_role.view_res_users_form_inherit |
No new fields.
Public methods (1)session_info(self)
No new fields.
Public methods (1)authenticate(cls, db, login, password, user_agent_env)
allowed_company_ids
Many2many
related='user_id.company_ids'
company_id
Many2one → res.company
domain="[('id', 'in', allowed_company_ids)]"
help='If set, this role only applies when this is the main company selected. Otherwise it applies to all companies.'
args: 'res.company', 'Company'
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-backend |
| GIT | |
| GIT | https://github.com/OCA/server-backend.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-backend/tree/12.0/base_user_role_company |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Tools |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | Yes |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Open Source Integrators |
| MAINTAINERS | |
| MAINTAINERS | dreispt |
| COMMITTERS | |
| COMMITTERS | Holger Brunn, OCA Transbot, oca-travis, Weblate, OCA-git-bot |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/server-backend |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:29:25 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/server-backend: - base_user_role odoo/odoo: - base - base_setup - web - bus - web_tour |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_res_users_form_inherit_company |
res.users.form.inherit.company | res.users | field | Inherits base_user_role.view_res_users_form_inherit |
No new fields.
Public methods (1)session_info(self)
No new fields.
Public methods (0)No public methods.
active_role
Boolean
default=True
string='Active Role'
company_id
Many2one → res.company
help='If set, this role only applies when this is the main company selected. Otherwise it applies to all companies.'
args: 'res.company', 'Company'
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-tools |
| GIT | |
| GIT | https://github.com/OCA/server-tools.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-tools/tree/10.0/base_user_role_company |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Tools |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | Yes |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Open Source Integrators |
| MAINTAINERS | |
| MAINTAINERS | dreispt |
| COMMITTERS | |
| COMMITTERS | Holger Brunn, oca-travis, OCA-git-bot |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/server-backend |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:20:00 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/server-tools: - base_user_role odoo/odoo: - base |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_res_users_form_inherit_company |
res.users.form.inherit.company | res.users | field | Inherits base_user_role.view_res_users_form_inherit |
No new fields.
Public methods (1)session_info(self)
No new fields.
Public methods (0)No public methods.
active_role
Boolean
default=True
string='Active Role'
company_id
Many2one → res.company
help='If set, this role only applies when this is the main company selected. Otherwise it applies to all companies.'
args: 'res.company', 'Company'
No public methods.
| STATUS | |
|---|---|
| STATUS | Open migration PR - not merged yet for this version |
| REPOSITORY | |
| REPOSITORY | OCA/server-backend |
| PULL REQUEST | |
| PULL REQUEST | [19.0][MIG] base_user_role_company: Migration to 19.0 (#445) |
| STATUS | |
|---|---|
| STATUS | Open migration PR - not merged yet for this version |
| REPOSITORY | |
| REPOSITORY | OCA/server-backend |
| PULL REQUEST | |
| PULL REQUEST | [19.0][MIG] base_user_role_company: Migration to 19.0 (#383) |