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

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
3899
0
4月 18
3397
1
9月 18
7212
0
9月 25
1523
0
12月 17
4221