Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3381 Visualizações

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



Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
abr. 18
3683
0
abr. 18
3185
1
set. 18
6972
0
nov. 23
1349
0
dez. 17
3990