From 0a2999cdd9ff0abe9d2b92e8dd2953fd04397e70 Mon Sep 17 00:00:00 2001 From: Simon Lejeune Date: Thu, 15 Mar 2018 15:17:21 +0100 Subject: [PATCH] [FIX] stock: delivery slip report The delivery slip is a document targeted to the customer, it is important that the quantities displayed there reflects what's actually been delivered. As for some reason the delivery slip tries do display some stuff on a not yet done picking and as the ordered_qty field on the move line do not reflect the ordered quantity but instead the first quantity reserved on it, we apply the following changes to make the report consistent. - In all cases, only display the quantity done. - Get rid of the ordered / delivered quantities. If the move wasn't processed fully and a backorder will follow, a message is shown at the end of the picking. There's an ongoing task to fix this report in a better way on master. opw-1808126 --- addons/stock/report/report_deliveryslip.xml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/addons/stock/report/report_deliveryslip.xml b/addons/stock/report/report_deliveryslip.xml index 60627d9f596..a4020c61b99 100644 --- a/addons/stock/report/report_deliveryslip.xml +++ b/addons/stock/report/report_deliveryslip.xml @@ -53,20 +53,19 @@ Product - Ordered Quantity + Quantity - + - @@ -75,10 +74,7 @@ - - + @@ -112,13 +108,6 @@ - @@ -129,7 +118,7 @@ This shipment is a backorder of .

- + All items couldn't be shipped, the remaining ones will be shipped as soon as they become available.

Lot/Serial Number Ordered Quantity - Delivered Quantity - Quantity
- - - - - -