Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
5295 Zobrazení

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šit
Related Posts Odpovědi Zobrazení Aktivita
1
bře 15
5380
4
led 24
23244
2
led 24
2547
0
srp 23
2348
2
bře 23
10176