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

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
3698
0
квіт. 18
3199
1
вер. 18
6994
0
лист. 23
1362
0
груд. 17
4015