[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:
parent
361406fab8
commit
702b9c2e1b
|
@ -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],
|
||||
}]);
|
||||
}) ;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue