Hello,
In Odoo the default language in reports is the partner language.
What I need to do is to add only one field and its translation in the same report
i.e let's say in order/quotation report, I want to present the product name with two languages english and french in the same quotation. How can I achieve that
Update:
Here's a sample of my code in xml file:
<thead>
<tr>
<th>Product</th>
<th></th>
<th></th>
<th>Description</th>
<th>Description in French</th>
</tr>
</thead>
<tbody>
<t t-foreach="layout_category['lines']" t-as="line">
<tr t-attf-class="product-description row-{{line_parity}}">
<td style="padding:20px;" t-foreach="line.product_id" t-as="pro">
<span t-field="pro.avatar.image" t-field-options='{"widget": "image","class": "oe_avatar"}' style="padding:20px;"/>
</td>
<td></td>
<td></td>
<td class="colored">
<p t-field="line.name"/>
</td>
<td class="colored">
<p t-field="line.name" t-field-options='{"lang": "fr_FR"}'/>
</td>
</tr>
</t>
</tbody>