[FIX]Fixed the issue of Import Error not shown to user, we have removed the oe_closed class but instead of it we must remove oe-import-no-result to show the error.

bzr revid: msh@tinyerp.com-20120711045536-4izikx28shokrujt
This commit is contained in:
msh-openerp
2012-07-11 10:25:36 +05:30
parent e9961bec5f
commit c2fa2855c0
+1 -1
View File
@@ -202,7 +202,7 @@ openerp.web.DataImport = openerp.web.Dialog.extend({
if (results['error']) {
result_node.append(QWeb.render('ImportView.error', {
'error': results['error']}));
this.$element.find('fieldset').removeClass('oe-closed');
this.$element.find('form').removeClass('oe-import-no-result');
return;
}
if (results['success']) {