modified doc

bzr revid: nicolas.vanhoren@openerp.com-20121105150540-yhcfpoiwffv6kjs3
This commit is contained in:
niv-openerp 2012-11-05 16:05:40 +01:00
parent a4dd317271
commit cd88f9ec02
1 changed files with 2 additions and 2 deletions

View File

@ -2022,7 +2022,7 @@ instance.web.form.FieldInterface = {
on_translate: function() {},
/**
This method is called by the form view before reading on_change values and before saving. It tells
the field to save its value before reading it using get_value(). Must return a deferred.
the field to save its value before reading it using get_value(). Must return a promise.
*/
commit_value: function() {},
};
@ -2265,7 +2265,7 @@ instance.web.form.FieldChar = instance.web.form.AbstractField.extend(instance.we
},
focus: function() {
this.$('input:first').focus();
}
},
});
instance.web.form.FieldID = instance.web.form.FieldChar.extend({