Ir al contenido
Menú
Se marcó esta pregunta
5298 Vistas

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
mar 15
5381
4
ene 24
23245
2
ene 24
2547
0
ago 23
2349
2
mar 23
10177