[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:
@@ -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']) {
|
||||
|
||||
Reference in New Issue
Block a user