[fix] problem in form views, data was not saved any more

bzr revid: nicolas.vanhoren@openerp.com-20120418133137-w2xn6z2u3z6tpc76
This commit is contained in:
niv-openerp 2012-04-18 15:31:37 +02:00
parent 0a78144741
commit be9f69c8a7
1 changed files with 1 additions and 0 deletions

View File

@ -852,6 +852,7 @@ instance.web.FormView = instance.web.View.extend({
this.translatable_fields.push(field);
}
field.on('changed_value', this, function() {
field._dirty_flag = true;
if (field.is_syntax_valid()) {
this.do_onchange(field);
this.on_form_changed(true);