Skip to Content
Menu
This question has been flagged
5301 Zobrazenia

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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
mar 15
5381
4
jan 24
23247
2
jan 24
2548
0
aug 23
2349
2
mar 23
10178