Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
5296 Представления

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>
Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
мар. 15
5380
4
янв. 24
23244
Attrs attribute Решено
2
янв. 24
2547
0
авг. 23
2348
2
мар. 23
10176