From 074bcf779f01eb17c8d7c72800b46d412092eceb Mon Sep 17 00:00:00 2001 From: MerlinGuillaume Date: Tue, 27 Sep 2022 10:11:29 +0000 Subject: [PATCH] [FIX] stock: print company in warehouse address in delivery slip The delivery slip of a receipt picking with a vendor uses the vendor details as the delivery address Steps to reproduce: 1. Install Inventory 2. Go to Inventory > Operations > Transfers and create a new transfer with: - Contact: Azure Interior - Operation Type: San Francisco: Receipts - Product: Large Cabinet 3. Save the transfer and print the Delivery Slip 4. The delivery address is wrong: it is the partner's address Solution: Change the conditions used to print the delivery address and the warehouse address to print the warehouse address when the delivery address is the same as the partner address opw-2992693 closes odoo/odoo#104051 X-original-commit: 99d04c20896dd06b4d083fe6c079a90e840e3ca2 Signed-off-by: William Henrotin (whe) Signed-off-by: Guillaume Merlin (megu) --- addons/stock/report/report_deliveryslip.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/stock/report/report_deliveryslip.xml b/addons/stock/report/report_deliveryslip.xml index 5e6f4a17ba3..aa5497627f9 100644 --- a/addons/stock/report/report_deliveryslip.xml +++ b/addons/stock/report/report_deliveryslip.xml @@ -8,12 +8,12 @@
-
+
Delivery Address:
-
+
Warehouse Address: