Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3384 Zobrazení

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šit
Related Posts Odpovědi Zobrazení Aktivita
0
dub 18
3685
0
dub 18
3186
1
zář 18
6977
0
lis 23
1349
0
pro 17
3990