From 01d812fb994e48140b62a2ea7112b439e13769dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Valaeys?= Date: Fri, 17 Jan 2020 16:05:25 +0100 Subject: [PATCH] Fixed dynamic build of the name of the view to be called when errors are found --- account_asset_management/wizard/account_asset_compute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_asset_management/wizard/account_asset_compute.py b/account_asset_management/wizard/account_asset_compute.py index 2d9b090ef..34e47229a 100644 --- a/account_asset_management/wizard/account_asset_compute.py +++ b/account_asset_management/wizard/account_asset_compute.py @@ -26,7 +26,7 @@ class AccountAssetCompute(models.TransientModel): module = __name__.split('addons.')[1].split('.')[0] result_view = self.env.ref( '%s.%s_view_form_result' - % (module, self._name)) + % (module, self._table)) self.note = _("Compute Assets errors") + ':\n' + error_log return { 'name': _('Compute Assets result'),