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
3682
0
अप्रैल 18
3162
1
सित॰ 18
6967
0
नव॰ 23
1338
0
दिस॰ 17
3980