TIP: You can type at any time to perform a new search.
Base User Role History
base_user_role_history · OCA/server-backend
- Repository
- OCA/server-backend · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Uncategorized
- Folder size
- 0.09 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/server-backend
- Last tracking update
- 2026-08-07 08:43:03
- Authors
- ACSONE SA/NV, Odoo Community Association (OCA)
- Maintainers
- ACSONE SA/NV, Odoo Community Association (OCA)
- Committers
- Christopher Rogos, OCA-git-bot, oca-ci, MCodes
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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.
Code Analysis ⓘ
Views touched (4)
| 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 | form | Inherits base.view_users_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (10)
-
new_date_fromDatestring='New start date' -
new_date_toDatestring='New end date' -
new_is_enabledBooleanstring='Active after edit' -
new_role_idMany2one → res.users.rolecomodel_name='res.users.role'index=Trueondelete='cascade'string='New role' -
old_date_fromDatestring='Old start date' -
old_date_toDatestring='Old end date' -
old_is_enabledBooleanstring='Active before edit' -
old_role_idMany2one → res.users.rolecomodel_name='res.users.role'index=Trueondelete='cascade'string='Old role' -
performed_actionSelectionrequired=Trueselection=[('add', 'Add'), ('unlink', 'Delete'), ('edit', 'Edit')]string='Action' -
user_idMany2one → res.userscomodel_name='res.users'index=Trueondelete='cascade'string='User'
No public methods.
New fields (1)
-
last_role_line_modificationDatetimecompute='_compute_last_role_line_modification'
-
show_role_lines_history(self)
New fields (0)
No new fields.
Public methods (3)-
create(self, vals_list)@api.model_create_multi -
unlink(self) -
write(self, vals)
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 316 days ago
- Last activity
- 18 days ago
- Repository
- OCA/server-backend
- Pull request
- [19.0][MIG] base_user_role_history: Migration to 19.0 (#384)