From 80b6550b681e19261c0724181256f583824c47d1 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Wed, 12 Feb 2020 20:00:18 +0100 Subject: [PATCH] [IMP] account_payment_order: Print payment order in user lang if not generated When you haven't still generated the file, `generated_user_id` is not filled, and so, you can't control the language in which the payment order is going to be printed. Adding a condition for using the user language in that case makes this more comfortable. --- account_payment_order/report/account_payment_order.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_payment_order/report/account_payment_order.xml b/account_payment_order/report/account_payment_order.xml index 0850a844a..d00d9db5a 100644 --- a/account_payment_order/report/account_payment_order.xml +++ b/account_payment_order/report/account_payment_order.xml @@ -4,7 +4,7 @@