Skip to Content
मेन्यू
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
Discard
Related Posts Replies Views Activity
0
अप्रैल 18
3863
0
अप्रैल 18
3345
1
सित॰ 18
7168
0
सित॰ 25
1495
0
दिस॰ 17
4180