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

11 lines
434 B
XML

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