From 25930728bdb3bf89e1adac4184e8f1635176beeb Mon Sep 17 00:00:00 2001 From: Jinjiu Liu Date: Mon, 23 May 2022 15:58:24 +0000 Subject: [PATCH] [FIX] stock: display the customer address instead of the delivery address MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reproduction: 1. Install Inventory and Sales, enable customer address in the setting of Sale 2. Create a quotation, choose a customer which has different contact address and delivery address, add a storable product. 3. Confirm the order and click the delivery in the status bar 4. Click print->delivery slip, the Customer Address and Delivery Address are the same Reason: The Customer Address isn’t correct in the template Fix: replace the partner setting in the customer address part as either the partner or its parent partner_id, e.g. the commercial_partner_id opw-2851158 closes odoo/odoo#96800 X-original-commit: 500687e45e83a8bf7c4ab31e659c7eb9dc83aa4c Signed-off-by: Adrien Widart Signed-off-by: Liu Jinjiu (jili) --- addons/stock/report/report_deliveryslip.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/report/report_deliveryslip.xml b/addons/stock/report/report_deliveryslip.xml index c1c7a7338cf..5e6f4a17ba3 100644 --- a/addons/stock/report/report_deliveryslip.xml +++ b/addons/stock/report/report_deliveryslip.xml @@ -33,7 +33,7 @@ Customer Address:
-