Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
2368 Ansichten

in sales module

Avatar
Verwerfen
Beste Antwort

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
Verwerfen

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

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Nov. 24
1700
2
Jan. 23
1388
1
Juli 25
571
2
Juli 25
804
1
Juli 25
659