User Access Roles
Give users roles such as Salesperson or Billing Clerk instead of ticking groups one by one. Their groups follow the roles, dated roles start and end by themselves, and every change is logged.
| Odoo | 16.0, 17.0, 18.0, 19.0, 20.0 |
| Editions | Community, Enterprise |
| Works with | Base only (roles can hold groups of any installed app) |
| Licence | OPL-1, 31 EUR |
| Tests | 8 automated, run on every version |
| Module | user_ |
The situation
A new salesperson starts on Monday. Someone opens Settings › Users, copies the groups of a colleague by memory and misses Export. In August Sofia covers the billing desk for two weeks; she gets Accounting / Invoicing and still has it at Christmas. Somebody ticked Accounting / Administrator on Jamal to fix one invoice, and nobody remembers.
With this module you define Salesperson, Sales Team Leader and Billing Clerk once, as roles. A user with roles gets exactly the groups of those roles. The billing cover is a Billing Clerk line with From and Until dates, and the daily check removes it on time. Jamal's extra group shows up as Rights Differ From Roles, and one click on Re-apply Roles puts him back in line. Role History shows each change.
What it adds
Getting started
Open Apps, clear the Apps filter, search for User Access Roles and click Activate. It needs nothing but the base module. Installing it changes no user: only users you give a role to are managed.
Apps › user_access_roles › Activate
Go to Settings › Users & Companies › Access Roles and create your roles: name, groups, and companies if you use several. Or open a user who is set up correctly and click Create Role from this User. People with the Access Rights group (Settings administrators have it) manage roles.
Settings › Users & Companies › Access Roles
Give roles on the Users tab of a role or on the Access Roles tab of a user, with dates when the access is temporary. Check the users list with the filter Rights Differ From Roles now and then, and read Role History when someone asks why they lost or got a menu.
Fine print
Log
Want roles per department or synced from employee job positions?
Tell us how your teams are organised and your Odoo version.
Email odoo.expert.111@gmail.com
Also by Awins
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module