Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4160 Visualizzazioni

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
Abbandona
Autore Risposta migliore


Solution::

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
mag 17
4133
2
giu 22
8028
3
mar 17
12949
2
lug 15
3716
1
lug 15
4471