| 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_history |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Uncategorized |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | OCA-git-bot, oca-ci, Christopher Rogos, MCodes |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/server-backend |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:19 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/server-backend: - base_user_role odoo/odoo: - base - base_setup - web - bus - web_tour - html_editor |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This addon provides history for roles modifications on users. Each time a role is added/updated/unlinked on a user, a new role history line is created mentioning what changes were made and who made them. Theses informations are directly accessible from users via a smart button. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
base_user_role_line_history_form_view |
base.user.role.line.history.form (in base_user_role_history) | base.user.role.line.history | form | New |
base_user_role_line_history_search_view |
base.user.role.line.history.search (in base_user_role_history) | base.user.role.line.history | search | New |
base_user_role_line_history_tree_view |
base.user.role.line.history.tree (in base_user_role_history) | base.user.role.line.history | list | New |
res_users_form_view |
res.users.form (in base_user_role_history) | res.users | div | Inherits base.view_users_form |
new_date_from
Date
string='New start date'
new_date_to
Date
string='New end date'
new_is_enabled
Boolean
string='Active after edit'
new_role_id
Many2one → res.users.role
comodel_name='res.users.role'
index=True
ondelete='cascade'
string='New role'
old_date_from
Date
string='Old start date'
old_date_to
Date
string='Old end date'
old_is_enabled
Boolean
string='Active before edit'
old_role_id
Many2one → res.users.role
comodel_name='res.users.role'
index=True
ondelete='cascade'
string='Old role'
performed_action
Selection
required=True
selection=[('add', 'Add'), ('unlink', 'Delete'), ('edit', 'Edit')]
string='Action'
user_id
Many2one → res.users
comodel_name='res.users'
index=True
ondelete='cascade'
string='User'
No public methods.
last_role_line_modification
Datetime
compute='_compute_last_role_line_modification'
show_role_lines_history(self)
No new fields.
Public methods (3)create(self, vals_list)
unlink(self)
write(self, vals)
| 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_history |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Uncategorized |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, Christopher Rogos, Mohamed Osman |
| 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 - base_setup - web - bus - web_tour |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This addon provides history for roles modifications on users. Each time a role is added/updated/unlinked on a user, a new role history line is created mentioning what changes were made and who made them. Theses informations are directly accessible from users via a smart button. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
base_user_role_line_history_form_view |
base.user.role.line.history.form (in base_user_role_history) | base.user.role.line.history | form | New |
base_user_role_line_history_search_view |
base.user.role.line.history.search (in base_user_role_history) | base.user.role.line.history | search | New |
base_user_role_line_history_tree_view |
base.user.role.line.history.tree (in base_user_role_history) | base.user.role.line.history | tree | New |
res_users_form_view |
res.users.form (in base_user_role_history) | res.users | div | Inherits base.view_users_form |
new_date_from
Date
string='New start date'
new_date_to
Date
string='New end date'
new_is_enabled
Boolean
string='Active after edit'
new_role_id
Many2one → res.users.role
comodel_name='res.users.role'
index=True
ondelete='cascade'
string='New role'
old_date_from
Date
string='Old start date'
old_date_to
Date
string='Old end date'
old_is_enabled
Boolean
string='Active before edit'
old_role_id
Many2one → res.users.role
comodel_name='res.users.role'
index=True
ondelete='cascade'
string='Old role'
performed_action
Selection
required=True
selection=[('add', 'Add'), ('unlink', 'Delete'), ('edit', 'Edit')]
string='Action'
user_id
Many2one → res.users
comodel_name='res.users'
index=True
ondelete='cascade'
string='User'
No public methods.
last_role_line_modification
Datetime
compute='_compute_last_role_line_modification'
show_role_lines_history(self)
No new fields.
Public methods (3)create(self, vals_list)
unlink(self)
write(self, vals)
| 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_history |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Uncategorized |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | Arnaud Pineux, Weblate, OCA-git-bot, oca-ci |
| 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 - 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 |
|---|---|---|---|---|
base_user_role_line_history_form_view |
base.user.role.line.history.form (in base_user_role_history) | base.user.role.line.history | form | New |
base_user_role_line_history_search_view |
base.user.role.line.history.search (in base_user_role_history) | base.user.role.line.history | search | New |
base_user_role_line_history_tree_view |
base.user.role.line.history.tree (in base_user_role_history) | base.user.role.line.history | tree | New |
res_users_form_view |
res.users.form (in base_user_role_history) | res.users | div | Inherits base.view_users_form |
new_date_from
Date
readonly=True
string='New start date'
new_date_to
Date
readonly=True
string='New end date'
new_is_enabled
Boolean
readonly=True
string='Active after edit'
new_role_id
Many2one → res.users.role
comodel_name='res.users.role'
index=True
ondelete='cascade'
readonly=True
string='New role'
old_date_from
Date
readonly=True
string='Old start date'
old_date_to
Date
readonly=True
string='Old end date'
old_is_enabled
Boolean
readonly=True
string='Active before edit'
old_role_id
Many2one → res.users.role
comodel_name='res.users.role'
index=True
ondelete='cascade'
readonly=True
string='Old role'
performed_action
Selection
readonly=True
required=True
selection=[('add', 'Add'), ('unlink', 'Delete'), ('edit', 'Edit')]
string='Action'
user_id
Many2one → res.users
comodel_name='res.users'
index=True
ondelete='cascade'
readonly=True
string='User'
create_from_vals(self, old_role_line_values_by_user, new_role_line_values_by_user)
last_role_line_modification
Datetime
readonly=True
string='Last roles modification'
create(self, vals_list)
show_role_lines_history(self)
write(self, vals)
| 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/13.0/base_user_role_history |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Uncategorized |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | OCA Transbot, oca-travis, OCA-git-bot, Benoit Aimont |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/server-backend |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:34:20 |
| 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 |
|---|---|---|---|---|
base_user_role_line_history_form_view |
base.user.role.line.history.form (in base_user_role_history) | base.user.role.line.history | form | New |
base_user_role_line_history_search_view |
base.user.role.line.history.search (in base_user_role_history) | base.user.role.line.history | search | New |
base_user_role_line_history_tree_view |
base.user.role.line.history.tree (in base_user_role_history) | base.user.role.line.history | tree | New |
res_users_form_view |
res.users.form (in base_user_role_history) | res.users | div | Inherits base.view_users_form |
new_date_from
Date
readonly=True
string='New start date'
new_date_to
Date
readonly=True
string='New end date'
new_is_enabled
Boolean
readonly=True
string='Active after edit'
new_role_id
Many2one → res.users.role
comodel_name='res.users.role'
index=True
ondelete='cascade'
readonly=True
string='New role'
old_date_from
Date
readonly=True
string='Old start date'
old_date_to
Date
readonly=True
string='Old end date'
old_is_enabled
Boolean
readonly=True
string='Active before edit'
old_role_id
Many2one → res.users.role
comodel_name='res.users.role'
index=True
ondelete='cascade'
readonly=True
string='Old role'
performed_action
Selection
readonly=True
required=True
selection=[('add', 'Add'), ('unlink', 'Delete'), ('edit', 'Edit')]
string='Action'
user_id
Many2one → res.users
comodel_name='res.users'
index=True
ondelete='cascade'
readonly=True
string='User'
create_from_vals(self, old_role_line_values_by_user, new_role_line_values_by_user)
last_role_line_modification
Datetime
readonly=True
string='Last roles modification'
create(self, vals_list)
show_role_lines_history(self)
write(self, vals)
| 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_history |
| VERSION | |
| VERSION | 1.0.1 |
| CATEGORY | |
| CATEGORY | Uncategorized |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | OCA Transbot, Sébastien BEAU, oca-travis, Weblate, OCA-git-bot, Benoit Aimont, hugues de keyzer |
| 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 - base_suspend_security 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 |
|---|---|---|---|---|
base_user_role_line_history_form_view |
base.user.role.line.history.form (in base_user_role_history) | base.user.role.line.history | form | New |
base_user_role_line_history_search_view |
base.user.role.line.history.search (in base_user_role_history) | base.user.role.line.history | search | New |
base_user_role_line_history_tree_view |
base.user.role.line.history.tree (in base_user_role_history) | base.user.role.line.history | tree | New |
res_users_form_view |
res.users.form (in base_user_role_history) | res.users | div | Inherits base.view_users_form |
new_date_from
Date
readonly=True
string='New start date'
new_date_to
Date
readonly=True
string='New end date'
new_is_enabled
Boolean
readonly=True
string='Active after edit'
new_role_id
Many2one → res.users.role
comodel_name='res.users.role'
index=True
ondelete='cascade'
readonly=True
string='New role'
old_date_from
Date
readonly=True
string='Old start date'
old_date_to
Date
readonly=True
string='Old end date'
old_is_enabled
Boolean
readonly=True
string='Active before edit'
old_role_id
Many2one → res.users.role
comodel_name='res.users.role'
index=True
ondelete='cascade'
readonly=True
string='Old role'
performed_action
Selection
readonly=True
required=True
selection=[('add', 'Add'), ('unlink', 'Delete'), ('edit', 'Edit')]
string='Action'
user_id
Many2one → res.users
comodel_name='res.users'
index=True
ondelete='cascade'
readonly=True
string='User'
create_from_vals(self, old_role_line_values_by_user, new_role_line_values_by_user)
last_role_line_modification
Datetime
readonly=True
string='Last roles modification'
create(self, vals_list)
show_role_lines_history(self)
write(self, vals)
| 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_history: Migration to 19.0 (#384) |