- 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
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
12268
Lượt xem
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
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
4
thg 5 25
|
2521 | ||
|
2
thg 5 25
|
5885 | ||
|
1
thg 3 25
|
1694 | ||
|
4
thg 3 25
|
4492 | ||
|
3
thg 2 25
|
5496 |