Ir al contenido
Menú
Se marcó esta pregunta

I would like to change the header of the invoice/report depending on the partner language.

I see that the report header references the company.

I tried this but it doesn't work:

<div class="row" id="English" t-if="company.partner_id.lang=='en_US'">

...

</div>

Any suggestions?

Avatar
Descartar
Autor Mejor respuesta


Solution::

 t-if="o.partner_id.lang== 'en_US' "

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
may 17
4133
2
jun 22
8028
3
mar 17
12952
2
jul 15
3717
1
jul 15
4472