Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
4896 Visualizações

hi everybody, i what to show a button dynamic, if web_client is in edit model the button will display, in view model button will hide how to do ... thanks,

Avatar
Cancelar
Melhor resposta

try:

<button name="NAME" string="STRING" type="object" states="STATES" class="oe_edit_only" groups="GROUPS"/>

oe_edit_only will solve your problem.

Cheers

Avatar
Cancelar
Autor

ok, Thank you very much

Publicações relacionadas Respostas Visualizações Atividade
4
dez. 15
6430
0
nov. 15
5344
4
dez. 23
24213
1
jan. 24
1870
1
set. 23
2022