[IMP] reference fields: display a more user-friendly window title when open a chosen many2one record in reference field

bzr revid: mat@openerp.com-20140206102409-4lbx7ofsgz8speni
This commit is contained in:
Martin Trigaux
2014-02-06 11:24:09 +01:00
parent 7950914c69
commit b75c52f3ed
+1 -1
View File
@@ -4920,7 +4920,7 @@ instance.web.form.FieldReference = instance.web.form.AbstractField.extend(instan
.on('blurred', null, function () {self.trigger('blurred')});
this.m2o = new instance.web.form.FieldMany2One(fm, { attrs: {
name: 'm2o',
name: 'Referenced Document',
modifiers: JSON.stringify({readonly: this.get('effective_readonly')}),
}});
this.m2o.on("change:value", this, this.data_changed);