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

How to hide a field ex. price_unit for a usergroup called = test

in sale.order ???


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

Stemphane,

Here is one solution if you want to hide particular field for specific group.

Follow these steps this might help you.

1) Take one boolean field  (Computational field)

     The method defined for this field will check the current user has your X(Test) group than it will set true to your boolean field.

2) Apply attrs on your field if that boolean is true than make it visible.

Hope this will help.

Rgds,

Anil.


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 22
4023
1
thg 12 21
2848
0
thg 3 19
2724
0
thg 2 18
5982
2
thg 3 15
6399