コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3430 ビュー

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
3720
0
4月 18
3207
1
9月 18
7049
0
11月 23
1372
0
12月 17
4036