Skip to Content
Menu
This question has been flagged
5300 Rodiniai

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>
Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
kov. 15
5381
4
saus. 24
23247
2
saus. 24
2547
0
rugp. 23
2349
2
kov. 23
10178