From 836fd9985a6ff543349b10e8f797826dc50a6a13 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/__manifest__.py | 2 +- account_payment_order/report/account_payment_order.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/account_payment_order/__manifest__.py b/account_payment_order/__manifest__.py index b7c87eb3e..290885bd8 100644 --- a/account_payment_order/__manifest__.py +++ b/account_payment_order/__manifest__.py @@ -8,7 +8,7 @@ { "name": "Account Payment Order", - "version": "13.0.1.0.0", + "version": "13.0.1.1.0", "license": "AGPL-3", "author": "ACSONE SA/NV, " "Therp BV, " diff --git a/account_payment_order/report/account_payment_order.xml b/account_payment_order/report/account_payment_order.xml index 5d97a9bce..c286303e1 100644 --- a/account_payment_order/report/account_payment_order.xml +++ b/account_payment_order/report/account_payment_order.xml @@ -5,7 +5,7 @@