コンテンツへスキップ
メニュー
この質問にフラグが付けられました
5304 ビュー

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
23248
2
1月 24
2549
0
8月 23
2349
2
3月 23
10179