I want to hide 2 fields in form view if login user and project manager is not same in odoo 12
Esta pergunta foi sinalizada
2
Respostas
6307
Visualizações
Hi annie rathod,
in odoo form view you need to hide to fields if login user and project manager is not same then you need to use direct odoo12 fields_view_get() method override.
- Using this method you can find current user.
- And fetch your manager using context.
- This method reference in odoo addons code python files.
Thank you so much Nikhil its Excellent work in tree view.
Please refer given below link
https://stackoverflow.com/questions/17621515/how-to-show-and-hide-input-fields-based-on-radio-button-selection
<li id="my_cart" class="hidden">
Está gostando da discussão? Não fique apenas lendo, participe!
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 | |
|---|---|---|---|---|
|
|
0
abr. 26
|
7 | ||
|
|
0
mar. 26
|
5 | ||
|
|
0
nov. 25
|
195 | ||
|
|
2
nov. 25
|
1786 | ||
|
|
0
jul. 25
|
1967 |