TIP: You can type at any time to perform a new search.
User roles activities
base_user_role_activity · OCA/server-backend
Security findings
- Repository
- OCA/server-backend · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Tools
- Folder size
- 0.21 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/server-backend
- Last tracking update
- 2026-10-03 23:56:48
- Authors
- Odoo Community Association (OCA), glueckkanja AG
- Maintainers
- Odoo Community Association (OCA), glueckkanja AG
- Committers
- OCA-git-bot, oca-ci, MohamedOsman7
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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. 
Code Analysis
Views touched (0)
No views found for this module.
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (0)
No new fields.
Public methods (1)-
activity_update_role_reminder(self)
New fields (0)
No new fields.
Public methods (3)-
cron_role_reminder(self)@api.model -
unlink(self) -
write(self, vals)
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 62 days ago
- Last activity
- 30 days ago
- Repository
- OCA/server-backend
- Pull request
- [19.0][MIG] base_user_role_activity: Migration to 19.0 (#475)