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

Hello,

I've added a new boolean field(with default False) to the sale_order and added a button to set it as True in the quotation form.

Now, I need to hide the "Confirm Sale" button, when the above boolean field is False, in the quotation form.

There are two such buttons in the form header.



How do I achieve this?

Thanks.


Avatar
Vazgeç
Üretici En İyi Yanıt

<xpath expr="(/form/header/button[@name='action_confirm'])[1]"position="attributes">

......

<xpath expr="(/form/header/button[@name='action_confirm'])[2]"position="attributes">

...

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Mar 15
5544
3
Ağu 22
12073
2
Şub 19
4305
1
Haz 17
7643
2
Haz 16
6129