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

How to hide the Filter Favorite Button when the model is account.invoice?

Is there a way to do that? I tried it with those methods, but nothing is working:

in the Button XML:

t-if="widget.model == 'account.invoice'"
if (view_type !== 'list' && model !== 'account.invoice'){
$('.oe-list-test').hide();
}

any help? thanks



Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
апр. 18
3682
0
апр. 18
3170
1
сент. 18
6967
0
нояб. 23
1340
0
дек. 17
3981