[FIX]base_import: if the error message was an except_orm or an access denied error, the error message was not displayed, only a red div without anything in it.

bzr revid: dle@openerp.com-20131128163613-e20nbr3yqvhvx4bv
This commit is contained in:
Denis Ledoux 2013-11-28 17:36:13 +01:00
parent 361406fab8
commit 702b9c2e1b
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ openerp.base_import = function (instance) {
return $.when([{
type: 'error',
record: false,
message: error.data.fault_code,
message: error.data.arguments[1],
}]);
}) ;
},