Skip to Content
मेन्यू
This question has been flagged
5291 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
5380
4
जन॰ 24
23243
2
जन॰ 24
2547
0
अग॰ 23
2348
2
मार्च 23
10176