Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3819 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
4138
0
dub 18
3614
1
zář 18
7397
0
zář 25
1731
0
pro 17
4420