[FIX] When action returns other value than an action, close current dialog if any
bzr revid: fme@openerp.com-20121115134207-n0q1vae1wuga5jc7
This commit is contained in:
parent
7ac71a4e47
commit
f842d8dba1
|
@ -1239,6 +1239,7 @@ instance.web.View = instance.web.Widget.extend({
|
||||||
});
|
});
|
||||||
}, null);
|
}, null);
|
||||||
} else {
|
} else {
|
||||||
|
self.do_action({"type":"ir.actions.act_window_close"});
|
||||||
return result_handler();
|
return result_handler();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue