Skip to Content
Menu
This question has been flagged
1 Odpoveď
1820 Zobrazenia

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
Zrušiť
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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
apr 22
2385
2
aug 21
3734
2
okt 20
5161
1
júl 25
722
1
feb 25
4016