- Employees should only view tasks related to their assigned projects.
- They should not be able to create, edit, or delete projects.
- Employees must be able to edit their assigned tasks but should not be allowed to create or delete tasks.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
12254
Vistas
You have to update your record rules like this:
1️⃣ Rule: Employees can only view tasks related to their assigned projects:
Model -
project.task
Domain - ['|', ('project_id.user_id', '=', user.id), ('project_id.privacy_visibility', '!=', 'employees')]
Permission - Read
2️⃣Rule: Employees should not be able to create, edit, or delete projects:
Model - project.project
Domain - []
Permission - Read
3️⃣ Rule: Employees can edit their assigned tasks but cannot create or delete tasks:
Model - project.task
Domain - [('user_id', '=', user.id)]
Permission - Read, Write
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
4
may 25
|
2507 | ||
|
2
may 25
|
5865 | ||
|
1
mar 25
|
1687 | ||
|
4
mar 25
|
4472 | ||
|
3
feb 25
|
5475 |