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

Is it possible to change the icon on a button field in a view depending on the value of another filed.

<xpath expr="//tree/field[@name='name']" position="after">
<button icon="fa-file-text-o" name="action_edit_note" type="object"
attrs="{'invisible': [('state', '!=', 'draft')]}"/>
</xpath>
Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Mar 15
5380
4
Oca 24
23244
Attrs attribute Çözüldü
2
Oca 24
2547
0
Ağu 23
2348
2
Mar 23
10176