跳至內容
選單
此問題已被標幟
5281 瀏覽次數

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
5379
4
1月 24
23240
2
1月 24
2545
0
8月 23
2348
2
3月 23
10172