Files
Odoo-Build/snippets/sale.report_blanketorder_document.format_qty.xml
T

11 lines
386 B
XML

<data inherit_id="sale.report_blanketorder_document" priority="50">
<xpath expr="//span[@t-field='l.original_uom_qty']" position="replace">
<t t-if="l.product_uom.id == 1">
<span t-field="l.original_uom_qty" t-options="{'widget': 'integer'}"/>
</t>
<t t-else="">
<span t-field="l.original_uom_qty"/>
</t>
</xpath>
</data>