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
2025 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
2562
2
sie 21
3900
2
paź 20
5488
1
wrz 25
1155
1
lut 25
4229