Se rendre au contenu
Menu
Cette question a été signalée

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
Ignorer
Publications associées Réponses Vues Activité
0
avr. 18
3773
0
avr. 18
3253
1
sept. 18
7093
0
nov. 23
1413
0
déc. 17
4094