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

hi everyone, i'm kind of new in odoo, and i'm currently developing o module, where i have to create a group that can have access to only one Transient Model. I've done some research and i understood that the groups, must inherit some off the premissions from earlier groups in the system(correct me if i'm wrong). But my main issue is to create a group that only has access to the transient model, that is the only thing the user must access, everything else it must be denied to the user.

Could you give me a solution to this?

best regards

Miguel Figueiredo

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

Hi Miguel Figueiredo,

First of all i will tell you about group creation.

1)We can define collection of groups as hierarchy (known as application), will be shown as selection in user settings.

2)Define a single group with out hierarchy, which will be a checkbox in user master.


Here you can use second option.

First  you have to define view, action, menu for your transient model then mention parent menu for it.

Then include the above created group in the menu you created and parent menu.

Finally enable group in user master for the users you want the menu to be visible.


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 24
2366
1
thg 10 23
1880
2
thg 8 22
3472
0
thg 2 21
4632
4
thg 10 20
6311