User roles activities
base_user_role_activity · OCA/server-backend
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by15/251 module depends on it
-
Maturity12/25In 2 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Description
System Parameter
The activity is created base_user_role_activity.reminder_days = 30 (days) before the end date by a scheduled action "User role expire reminder" and automatically removed, when asignment end date on the user role assignment is adapted.

Activity
When a user role is about to expire (default=30 days), an activity is created for the user itself. The activity is linked to the user's res.partner entity.
The responsible user is computed by the hook res.users._get_role_manager().
Install hr_user_role_activity (OCA/hr) to assign the activity to the
manager of the related employee instead.

Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
No new fields.
Public methods (1)-
activity_update_role_reminder(self)
No new fields.
Public methods (3)-
cron_role_reminder(self)@api.model -
unlink(self) -
write(self, vals)
Loading…