Displayed the name of Intrasat code in Intrasat Invoice report instead of browse record

This commit is contained in:
dhr-odoo
2014-06-24 17:01:07 +02:00
committed by Martin Trigaux
parent fd7809f97f
commit b466e6e6b9
@@ -56,7 +56,7 @@
<tr t-foreach="o.invoice_line" t-as="l">
<td><span t-field="l.name"/></td>
<td class="text-right"><span t-esc="', '.join(map(lambda x: x.name, l.invoice_line_tax_id))"/></td>
<td class="text-right"><span t-esc="l.product_id.intrastat_id"/></td>
<td class="text-right"><span t-esc="l.product_id.intrastat_id.name"/></td>
<td class="text-right"><span t-esc="l.product_id.weight"/></td>
<td class="text-right"><span t-field="l.quantity"/></td>
<td groups="product.group_uom"><span t-field="l.uos_id"/></td>