Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
5157 Tampilan

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?

Avatar
Buang
Jawaban Terbai
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,
Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Nov 15
5269
1
Mar 15
5401
1
Mar 15
8835
1
Mar 15
3210
10
Des 23
37355