diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-01-15 14:43:32 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-01-15 14:43:32 +0100 |
| commit | 87dd06c941ac0dd7a42e528900938603aca891cb (patch) | |
| tree | 14531c9dd9e7332c8b990d4dc26a473200c3df0a /addons/web/static/src/js/view_list_editable.js | |
| parent | 698981eccb9cf0c67c7a7e59dbef41da02391a18 (diff) | |
| parent | 8c150c609eea3b2745339000e8257c6ef40c8ea5 (diff) | |
[MERGE] forward port of branch saas-3 up to 8c150c6
Diffstat (limited to 'addons/web/static/src/js/view_list_editable.js')
| -rw-r--r-- | addons/web/static/src/js/view_list_editable.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/web/static/src/js/view_list_editable.js b/addons/web/static/src/js/view_list_editable.js index 62a0717d374..d8358f69865 100644 --- a/addons/web/static/src/js/view_list_editable.js +++ b/addons/web/static/src/js/view_list_editable.js @@ -231,8 +231,9 @@ this.records.add(record, { at: this.prepends_on_create() ? 0 : null}); } - - return this.ensure_saved().then(function () { + return this.ensure_saved().then(function(){ + return $.when.apply(null, self.editor.form.render_value_defs); + }).then(function () { var $recordRow = self.groups.get_row_for(record); var cells = self.get_cells_for($recordRow); var fields = {}; |
