Hi,
Working on Odoo13, when creating a new contact (individual) in debug mode there is a field where it let you chose direction type (private, delivery...).
How can grant permission to a specific group of users to this field?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
Working on Odoo13, when creating a new contact (individual) in debug mode there is a field where it let you chose direction type (private, delivery...).
How can grant permission to a specific group of users to this field?
<field name="type" groups="base.group_no_one" attrs="{'invisible': [('is_company','=', True)], 'readonly': [('user_ids', '!=', [])]}"/>
If you want to give access to any other groups assign multiple groups for that field ,
<field name="type" groups="base.group_no_one,base.user_admin" attrs="{'invisible': [('is_company','=', True)], 'readonly': [('user_ids', '!=', [])]}"/>
Hello Kiko Rivera,
Yes, you can very well do this by assigning group to that particular field .
for reference, please consider this ...
<field name ="test" groups="group_name"/>
you can also define multiple group using comma
I hope you will understand this
Thank you....
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 | |
|---|---|---|---|---|
|
0
thg 12 25
|
41 | |||
|
0
thg 12 25
|
8 | |||
|
0
thg 12 25
|
1 | |||
|
0
thg 11 25
|
32 | |||
|
_sql_constraint not working
Đã xử lý
|
3
thg 11 25
|
581 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.