跳至内容
菜单
此问题已终结
5299 查看

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>
形象
丢弃
相关帖文 回复 查看 活动
1
3月 15
5381
4
1月 24
23245
2
1月 24
2547
0
8月 23
2349
2
3月 23
10177