Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1776 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
dub 22
2280
2
srp 21
3672
2
říj 20
5105
1
čvc 25
636
1
úno 25
3977