Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
1849 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Apr. 22
2413
2
Aug. 21
3756
2
Okt. 20
5201
1
Juli 25
773
1
Feb. 25
4057