跳至內容
選單
此問題已被標幟
1 回覆
1827 瀏覽次數

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

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
4月 22
2398
2
8月 21
3744
2
10月 20
5178
1
7月 25
737
1
2月 25
4030