Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5701 Lượt xem

I'm wondering if one can fold or not show specific project stages for certain user groups? So you have can have  departments that can only see their stage and the one directly before and after them and no other stages.    

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello Samo,


Unfortunately, such functionality is not present in Odoo at the moment. If you want to limit the users to see some records, based on groups, try adding record rules by going to Settings > Security> Record Rules.

Thank You

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you for the answer.

You could extend both the JS and the security in order to code this though.

Câu trả lời hay nhất

I was able to create a custom module that accomplishes this in Odoo 16 Community.  

It adds a new menu: Project > Configuration > Project Stage Visibility

You can create rules that include Users and Project Stages that you want hidden to those Users.  

The module only includes Python and XML so no JS required.  I haven't tested too extensively so use at your own risk.

Here's the module on GitHub: 
https://github.com/McCalebTheSecond/project_stage_visibility

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 7 24
1580
1
thg 1 24
1646
7
thg 8 25
27550
1
thg 8 24
2383
0
thg 6 22
2699