- 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
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
1
Rispondi
12259
Visualizzazioni
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
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
4
mag 25
|
2511 | ||
|
2
mag 25
|
5868 | ||
|
1
mar 25
|
1690 | ||
|
4
mar 25
|
4478 | ||
|
3
feb 25
|
5482 |