Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1814 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
apr. 22
2378
2
aug. 21
3728
2
okt. 20
5147
1
jul. 25
714
1
feb. 25
4015