Skip to Content
मेन्यू
This question has been flagged

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
Discard
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
Discard
Related Posts Replies Views Activity
1
अप्रैल 22
2323
2
अग॰ 21
3707
2
अक्तू॰ 20
5124
1
जुल॰ 25
687
1
फ़र॰ 25
3998