- 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:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
1
ตอบกลับ
12263
มุมมอง
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
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
4
พ.ค. 25
|
2513 | ||
|
2
พ.ค. 25
|
5875 | ||
|
1
มี.ค. 25
|
1693 | ||
|
4
มี.ค. 25
|
4489 | ||
|
3
ก.พ. 25
|
5492 |