Hi,
I want the group "Project / Users" to be able to create new project stages. Even if by default both groups have the same permissions, it seems that the "+ Stage" button does not appear in the project Kanban view for "Project / Users".
How could I achieve this (permissions to create + button visibility)?
I'm using Odoo 16, but the behaviour is the same in v17.
Thanks in advance!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
Hello Juan
Actually the +stage only appears for the group Project / Administrator
You can change this by customization
as you can see in the following js code
async onWillStart() {
if (this.props.list.isGroupedByStage) { // no need to check it if not grouped by stage
this.isProjectManager = await this.userService.hasGroup('project.group_project_manager');
}
}
in the line this.isProjectManager = await this.userService.hasGroup('project.group_project_manager');
odoo checks for the group Project / Administrator by id
So you can customize this code to search for Project / User
Another approach(which i don't recommend because it might give some unseen privileges)
- Duplicate the Project / Administrator Group and name it Project / Administrator Privileges
- Remove all Access Rights from the Original Project / Administrator group
- Assign the original Project / Administrator group to the users you want to create the stages
- Assign the Project / Administrator Privileges group to the Project Administrators
Thanks a lot Emad!
I Preferer for 2nd approach
what file is this found in?
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
How to "lock" task at a certain stage.
แก้ไขแล้ว
|
|
2
ต.ค. 24
|
5757 | |
|
3
ก.ย. 19
|
7753 | ||
|
1
มี.ค. 17
|
4823 | ||
|
0
ก.ค. 23
|
2989 | ||
|
1
มิ.ย. 23
|
3362 |