Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2029 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Apr 22
2571
2
Agu 21
3907
2
Okt 20
5498
1
Sep 25
1164
1
Feb 25
4232