Skip to Content
Menú
This question has been flagged
5305 Vistes

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
Descartar
Related Posts Respostes Vistes Activitat
1
de març 15
5381
4
de gen. 24
23249
2
de gen. 24
2551
0
d’ag. 23
2352
2
de març 23
10181