İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2595 Görünümler

in sales module

Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Kas 24
1972
2
Oca 23
1574
2
Eyl 25
382
3
Eyl 25
477
3
Eyl 25
537