Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
3433 Visninger

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
apr. 18
3724
0
apr. 18
3209
1
sep. 18
7055
0
nov. 23
1376
0
dec. 17
4036