Skip to Content
मेन्यू
This question has been flagged
5626 Views

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
Discard
Related Posts Replies Views Activity
1
मार्च 15
5709
4
जन॰ 24
24103
2
जन॰ 24
2999
0
अग॰ 23
2851
2
मार्च 23
10851