From bbddb4078918111b14b9dd52fde0053cfc0d8a26 Mon Sep 17 00:00:00 2001 From: "Walid HANNICHE (waha)" Date: Fri, 24 Mar 2023 13:47:28 +0000 Subject: [PATCH] [FIX] stock: use default lang when no partner in deliveryslip Step to reproduce: 1. create a product 2. duplicate it and change its translation (but DO NOT change the product name) 3. create a transfer for that new product without a contact 4. print delivery slip Bug: the db's product name is used instead of the translated name (i.e. "original product name (copy)") FIX: when partner id is not set in picking, then default to the user's language opw-3141202 closes odoo/odoo#116610 X-original-commit: e56b955fbd7963709b9547eb50d97cf105f9d430 Signed-off-by: Tiffany Chang Signed-off-by: Walid Hanniche (waha) --- 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 f51a7bc4f83..f04fe3b5e26 100644 --- a/addons/stock/report/report_deliveryslip.xml +++ b/addons/stock/report/report_deliveryslip.xml @@ -3,7 +3,7 @@