Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
5309 Tampilan

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mar 15
5381
4
Jan 24
23250
Attrs attribute Diselesaikan
2
Jan 24
2552
0
Agu 23
2352
2
Mar 23
10182