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

I have lets say the module Contacts, and I need to hide some fields, lets say phone number, to a particular group of users. Is it possible in Odoo 13 or Odoo 12?

الصورة الرمزية
إهمال
أفضل إجابة
yes, you can use user groups. For example:
In python
birthday = fields.Date('Date of Birth', groups="hr.group_hr_user")
or you have to specify the groups in the XML
<field name="birthday" groups="hr.group_hr_user"/>
Regards,
الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
نوفمبر 15
4885
1
مارس 15
5107
1
مارس 15
8479
1
مارس 15
3011
10
ديسمبر 23
36893