Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2358 Vistas

in sales module

Avatar
Descartar
Mejor respuesta

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
Descartar

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

Publicaciones relacionadas Respuestas Vistas Actividad
1
nov 24
1698
2
ene 23
1383
1
jul 25
559
2
jul 25
797
1
jul 25
652