I want to show some measures in the measures dropdown only for specific group (sales admin) and hide them for other groups
let's say i have the cost measure and i want the users in sales administration group only to see it
I want to show some measures in the measures dropdown only for specific group (sales admin) and hide them for other groups
let's say i have the cost measure and i want the users in sales administration group only to see it
Hi,
You can give groups attribute in the python file for the field.
cost = fields.Float('Cost', readonly=True, groups="sales_team.group_sale_manager")Regards
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscrever-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
1
jul. 21
|
5748 | |||
|
0
mai. 17
|
5678 | |||
|
0
set. 21
|
78 | |||
|
2
mai. 24
|
4413 | |||
|
0
jan. 23
|
809 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.