Files
Odoo-Build/snippets/purchase.report_purchasequotation_document.format_qty_with_decimal.xml
T

11 lines
416 B
XML

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