Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
apr. 18
3682
0
apr. 18
3185
1
sep. 18
6970
0
nov. 23
1341
0
dec. 17
3987