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

in sales module

Avatar
Cancelar
Melhor resposta

Hi HeGo22, 

If you want to hide button based on field's value(If it has value then invisible the button if not then it should show that button) you can add the attribute on that button like below

Please find code in comment. 

I hope this will be helpful.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Avatar
Cancelar

Example:
<button name="create_request_pricing" String"Create request Pricing" attrs="{'invisible': [('field_name', '!=', False)]}""

Publicações relacionadas Respostas Visualizações Atividade
1
nov. 24
1704
2
jan. 23
1388
1
jul. 25
577
2
jul. 25
805
1
jul. 25
664