summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2015-07-10 12:02:52 +0200
committerDenis Ledoux <dle@odoo.com>2015-07-10 12:04:36 +0200
commit1bc4ed7c95f2cf0bc81f01d7b64fd2c5fcdc0ffb (patch)
treecf941ad147f80ab7a8765ef9f38aa5305fb4d9a5 /addons
parent610f6fdafe8beecf90a50b40a271a444f66161f8 (diff)
[FIX] point_of_sale: receipt report, qty decimal precision
In the receipt report, the quantity decimal precision was hardcoded to 0, while it should use the decimal precision from the field definition. opw-644507
Diffstat (limited to 'addons')
-rw-r--r--addons/point_of_sale/views/report_receipt.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/point_of_sale/views/report_receipt.xml b/addons/point_of_sale/views/report_receipt.xml
index 4bbd44afbe4..39192072514 100644
--- a/addons/point_of_sale/views/report_receipt.xml
+++ b/addons/point_of_sale/views/report_receipt.xml
@@ -31,7 +31,7 @@
<td><span t-field="line.product_id"/></td>
<td class="text-right">
<t t-if="o.state != 'cancel' and o.statement_ids">
- <span t-esc="'%.f' % line.qty"/>
+ <span t-field="line.qty"/>
</t>
</td>
<td class="text-right">