跳至内容
菜单
此问题已终结

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



形象
丢弃
相关帖文 回复 查看 活动
0
4月 18
3723
0
4月 18
3208
1
9月 18
7053
0
11月 23
1374
0
12月 17
4036