diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-10-12 14:37:13 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-10-12 14:37:13 +0200 |
| commit | ccfa2e83d4784b4ea165ae12b5befbdae3ef1a67 (patch) | |
| tree | 86760be1c7c527ff92af0b2b6040a22e759e7ebd /addons/web/static/src | |
| parent | 36fa302c351846b09cd530a7e7674e489346f2d3 (diff) | |
Modified documentation.
bzr revid: nicolas.vanhoren@openerp.com-20121012123713-6cmnayk7pr3mgs4p
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/view_form.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 3297b60e60d..20c796a1d8b 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -1954,12 +1954,9 @@ instance.web.form.FieldInterface = { /** * Called by the form view to indicate the value of the field. * - * set_value() may return an object that can be passed to $.when() that represents the moment when - * the field has finished all operations necessary before the user can effectively use the widget. - * * Multiple calls to set_value() can occur at any time and must be handled correctly by the implementation, - * regardless of any asynchronous operation currently running and the status of any promise that a - * previous call to set_value() could have returned. + * regardless of any asynchronous operation currently running. Calls to set_value() can and will also occur + * before the widget is inserted into the DOM. * * set_value() must be able, at any moment, to handle the syntax returned by the "read" method of the * osv class in the OpenERP server as well as the syntax used by the set_value() (see below). It must |
