This question has been flagged

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
Discard
Author Best Answer


Solution::

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

Avatar
Discard