Se rendre au contenu
Menu
Cette question a été signalée
5315 Vues

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
Ignorer
Publications associées Réponses Vues Activité
1
mars 15
5382
4
janv. 24
23276
2
janv. 24
2562
0
août 23
2353
2
mars 23
10195