Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3670 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
apr 18
3968
0
apr 18
3455
1
set 18
7270
0
set 25
1589
0
dic 17
4304