تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4164 أدوات العرض

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?

الصورة الرمزية
إهمال
الكاتب أفضل إجابة


Solution::

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مايو 17
4133
2
يونيو 22
8028
3
مارس 17
12949
2
يوليو 15
3716
1
يوليو 15
4471