Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3627 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
3900
0
dub 18
3401
1
zář 18
7216
0
zář 25
1529
0
pro 17
4224