Skip to Content
Menu
This question has been flagged
1 Atsakyti
2377 Rodiniai

in sales module

Portretas
Atmesti
Best Answer

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

Portretas
Atmesti

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

Related Posts Replies Rodiniai Veikla
1
lapkr. 24
1704
2
saus. 23
1389
1
liep. 25
578
2
liep. 25
807
1
liep. 25
665