Skip to Content
Menu
This question has been flagged
1 Atsakyti
1866 Rodiniai

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

Portretas
Atmesti
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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
bal. 22
2430
2
rugp. 21
3767
2
spal. 20
5235
1
liep. 25
800
1
vas. 25
4068