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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 4 22
|
2405 | ||
|
2
thg 8 21
|
3750 | ||
|
2
thg 10 20
|
5188 | ||
|
1
thg 7 25
|
762 | ||
|
1
thg 2 25
|
4046 |