Skip to Content
Menú
This question has been flagged
1 Respondre
1754 Vistes

I tried to set a user group for the field cost(purchase_price) in the Sales Order form - order lines, from python code as well as through XML, but the group is not accepted for that field.


Any assistance you can provide would be greatly appreciated

Avatar
Descartar
Best Answer

Hi,

Please try any of the following: In Python -- 

Your_field = fields.Date(string="Spouse Birthdate", groups="hr.group_hr_user")

in .xml

<field name="your_field_name" groups="base.group_no_one"/>


Regards

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
d’abr. 22
2278
2
d’ag. 21
3659
2
d’oct. 20
5096
1
de jul. 25
611
1
de febr. 25
3970