From fbf76c1f27afbb836b1b0e9e84cf160d65777d41 Mon Sep 17 00:00:00 2001 From: svs-odoo Date: Wed, 4 Nov 2020 13:58:57 +0000 Subject: [PATCH] [FIX] stock: display float with correct decimal Before this commit, on the delivery slip, the quantities aren't displayed at the same way if we display the move ones or move line ones. In the first case, we print directly the value from a record, so the float decimal is correclty placed when the float is converted into a string. In the second case, we get the value from a dict, so there is no conversion and the float is simply translated into a string. For example, for 2 qty.: - For a move it display 2.00 - For a move line it display 2 task-2373833 --- addons/stock/report/report_deliveryslip.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/stock/report/report_deliveryslip.xml b/addons/stock/report/report_deliveryslip.xml index 24bd5e2366b..14761afe4ab 100644 --- a/addons/stock/report/report_deliveryslip.xml +++ b/addons/stock/report/report_deliveryslip.xml @@ -204,7 +204,8 @@

- +