Is there a way that only the HR manager and supervisor can access the employees within a specific department?
For example, I have departments A,B,C,D and I want the employees under department 'A' should only be accessible by their HR Manager and the supervisor
The department A should only be visible to the HR Manager and the supervisor.
How can I do this, please help.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
Hi,
Here are two effective methods:
Using Access Groups and Record Rules:
Step 1: Create Access Groups:
Create two new groups: "Dept A HR Manager" and "Dept A Supervisor."
Assign relevant users (HR Manager and Supervisor for Department A) to each group
Step 2: Define Record Rules:
Domain: [('department_id', '=', a_department_id)] (Replace a_department_id with the actual ID of Department A)
Groups: Choose "Read access" and "Write access" for both "Dept A HR Manager" and "Dept A Supervisor" groups.
Hope it helps
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
0
sept. 22
|
3693 | ||
|
1
mars 18
|
3639 | ||
|
0
mai 15
|
4669 | ||
|
0
mai 19
|
3271 | ||
|
1
févr. 25
|
7336 |