Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3583 Переглядів

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
3871
0
квіт. 18
3347
1
вер. 18
7169
0
вер. 25
1497
0
груд. 17
4190