Skip to Content
Menu
This question has been flagged
1 Odpoveď
4165 Zobrazenia

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
Zrušiť
Autor Best Answer


Solution::

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

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
2
máj 17
4133
2
jún 22
8028
3
mar 17
12949
2
júl 15
3716
1
júl 15
4471