Skip to Content
Menu
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



Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
bal. 18
3720
0
bal. 18
3207
1
rugs. 18
7048
0
lapkr. 23
1371
0
gruod. 17
4035