[fix] fixed some problem with on_change and warnings
bzr revid: nicolas.vanhoren@openerp.com-20110704114131-kusycqhnkvyd8ye8
This commit is contained in:
@@ -247,7 +247,7 @@ openerp.base.FormView = openerp.base.View.extend( /** @lends openerp.base.FormV
|
||||
}
|
||||
this.on_form_changed();
|
||||
}
|
||||
if (result.warning) {
|
||||
if (result.warning && !_.isEmpty(result.warning)) {
|
||||
$(QWeb.render("DialogWarning", result.warning)).dialog({
|
||||
modal: true,
|
||||
buttons: {
|
||||
|
||||
Reference in New Issue
Block a user