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

Hi,


I've imported a bunch of groups using odoo's import xls system.


Here's the metadata from one of them:



I want to show a field only to users from that group. Here's my code:

<field name="default_code" position="after">
<field name="z_ncm" groups="__import__.hh_group_metal"/>
</field>


Neither groups="__import__.hh_group_metal nor groups="sale.hh_group_metal work...


What am I doing wrong?

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

Hi,

Seems everything given correctly, are you sure that tested user is not in this group ? As per you have given, the field will be visible only for the users inside the group.

Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 21
2908
3
thg 6 21
4603
0
thg 4 21
2102
1
thg 2 24
1869
2
thg 9 23
6215