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