Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
5282 Prikazi

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
mar. 15
5379
4
jan. 24
23240
2
jan. 24
2545
0
avg. 23
2348
2
mar. 23
10172