How to hide a field ex. price_unit for a usergroup called = test
in sale.order ???
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
How to hide a field ex. price_unit for a usergroup called = test
in sale.order ???
Stemphane,
Here is one solution if you want to hide particular field for specific group.
Follow these steps this might help you.
1) Take one boolean field (Computational field)
The method defined for this field will check the current user has your X(Test) group than it will set true to your boolean field.
2) Apply attrs on your field if that boolean is true than make it visible.
Hope this will help.
Rgds,
Anil.
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
2
set. 22
|
4022 | ||
User only access one app
Resolvido
|
|
1
dez. 21
|
2848 | |
|
0
mar. 19
|
2724 | ||
|
0
fev. 18
|
5979 | ||
|
2
mar. 15
|
6399 |