Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1835 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
avr. 22
2402
2
août 21
3748
2
oct. 20
5180
1
juil. 25
754
1
févr. 25
4046