跳至內容
選單
此問題已被標幟
3382 瀏覽次數

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
3683
0
4月 18
3185
1
9月 18
6972
0
11月 23
1349
0
12月 17
3990