Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1848 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
kwi 22
2409
2
sie 21
3752
2
paź 20
5197
1
lip 25
772
1
lut 25
4057