Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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?

Awatar
Odrzuć
Autor Najlepsza odpowiedź


Solution::

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
maj 17
4134
2
cze 22
8037
3
mar 17
12956
2
lip 15
3722
1
lip 15
4485