تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2796 أدوات العرض

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?

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أغسطس 21
2902
3
يونيو 21
4598
0
أبريل 21
2089
1
فبراير 24
1843
2
سبتمبر 23
6195