跳至内容
菜单
此问题已终结
1 回复
1805 查看

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
2339
2
8月 21
3717
2
10月 20
5136
1
7月 25
702
1
2月 25
4009