From 8beac87a40158f20b1417b27955aa02a7fb0de12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miquel=20Ra=C3=AFch?= Date: Fri, 11 Feb 2022 18:44:26 +0100 Subject: [PATCH] [FIX] account_loan: post() -> action_post() --- account_chart_update/wizard/wizard_chart_update.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/account_chart_update/wizard/wizard_chart_update.py b/account_chart_update/wizard/wizard_chart_update.py index ea96c30c..2259c3f1 100644 --- a/account_chart_update/wizard/wizard_chart_update.py +++ b/account_chart_update/wizard/wizard_chart_update.py @@ -387,7 +387,9 @@ class WizardUpdateChartsAccounts(models.TransientModel): self.log = log_output.getvalue() # Check if errors where detected and wether we should stop. if EXCEPTION_TEXT in self.log and not self.continue_on_errors: - raise exceptions.UserError(_("One or more errors detected!\n\n%s") % self.log) + raise exceptions.UserError( + _("One or more errors detected!\n\n%s") % self.log + ) # Store the data and go to the next step. self.state = "done" return self._reopen()