2
0

[FIX] account_loan: post() -> action_post()

This commit is contained in:
Miquel Raïch 2022-02-11 18:44:26 +01:00 committed by Luis J. Salvatierra
parent 320079d543
commit 8beac87a40

View File

@ -387,7 +387,9 @@ class WizardUpdateChartsAccounts(models.TransientModel):
self.log = log_output.getvalue() self.log = log_output.getvalue()
# Check if errors where detected and wether we should stop. # Check if errors where detected and wether we should stop.
if EXCEPTION_TEXT in self.log and not self.continue_on_errors: 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. # Store the data and go to the next step.
self.state = "done" self.state = "done"
return self._reopen() return self._reopen()