Files
Odoo-Build/snippets/account.report_invoice_document.replace_product_description.xml
T
2022-06-29 08:36:55 +02:00

18 lines
437 B
XML

<?xml version="1.0"?>
<data inherit_id="account.report_invoice_document" priority="50">
<xpath expr="//td[@name='account_invoice_line_name']" position="replace">
<t t-if="line.product_id.type_description">
<td>
<span style="font-weight: bold" t-field="line.product_id.type_description"/>
</td>
</t>
<t t-if="not line.product_id.type_description">
<td>
<span t-field="line.external_name"/>
</td>
</t>
</xpath>
</data>