Skip to Content
मेन्यू
This question has been flagged
1 Reply
2307 Views

in sales module

Avatar
Discard
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

Avatar
Discard

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

Related Posts Replies Views Activity
1
नव॰ 24
1640
2
जन॰ 23
1360
1
जुल॰ 25
436
2
जुल॰ 25
694
1
जुल॰ 25
512