2
0

Fixed dynamic build of the name of the view to be called when errors are found

This commit is contained in:
Stéphane Valaeys 2020-01-17 16:05:25 +01:00 committed by Rodrigo
parent cd3bd6bbd2
commit 44c9368b2e
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
{
'name': 'Assets Management',
'version': '12.0.2.1.2',
'version': '12.0.2.1.3',
'license': 'AGPL-3',
'depends': [
'account',

View File

@ -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'),