Skip to Content
Menu
This question has been flagged
3496 Zobrazenia

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



Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
apr 18
3775
0
apr 18
3264
1
sep 18
7096
0
nov 23
1414
0
dec 17
4100