Ir al contenido
Menú
Se marcó esta pregunta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
abr 18
3682
0
abr 18
3169
1
sept 18
6967
0
nov 23
1340
0
dic 17
3981