Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 6 Odoo series since 12.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Odoo dependencies
OCA/server-backend:
odoo/odoo:
- web
- bus
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 IDNameModelTypeStatus
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_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'
Public methods (0)

No public methods.

New fields (1)
  • last_role_line_modification Datetime
    compute='_compute_last_role_line_modification'
Public methods (1)
  • 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…