Base User Role History
base_user_role_history · OCA/server-backend
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month 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.09 MB
Module directory on disk
Code analysis
0 migration notes
3 models
4 views
0 HTTP endpoints
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. These informations are directly accessible from users via a smart button.
Dependencies
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 |
|---|---|---|---|---|
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'
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…
Loading…
Loading…