Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
5314 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mar 15
5382
4
gen 24
23276
2
gen 24
2562
0
ago 23
2353
2
mar 23
10195