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

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
23250
2
1月 24
2552
0
8月 23
2352
2
3月 23
10182