Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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



Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
kwi 18
3682
0
kwi 18
3181
1
wrz 18
6968
0
lis 23
1341
0
gru 17
3986