İçereği Atla
Menü
Bu soru işaretlendi
3849 Görünümler

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Nis 18
4155
0
Nis 18
3635
1
Eyl 18
7441
0
Eyl 25
1744
0
Ara 17
4432