Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3405 Lượt xem

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



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 18
3692
0
thg 4 18
3198
1
thg 9 18
6991
0
thg 11 23
1361
0
thg 12 17
4012