6 lines
299 B
XML
6 lines
299 B
XML
<data inherit_id="purchase.report_purchaseorder_document" priority="50">
|
|
<xpath expr="//tbody//span[@t-field='line.price_unit']" position="replace">
|
|
<span t-esc="'%g' % line.price_unit if str(line.price_unit)[::-1].find('.') >= 3 else '%.2f' % line.price_unit"/>
|
|
</xpath>
|
|
</data>
|