diff options
| author | Martin Geubelle <mge@odoo.com> | 2017-05-12 13:22:01 +0200 |
|---|---|---|
| committer | Martin Geubelle <mge@odoo.com> | 2017-05-15 14:55:21 +0200 |
| commit | a0217f4475b02660fc687d154f1287029ed0e23d (patch) | |
| tree | 6c588b4fbbe7d8daa94f3ea99e77c36024c4e0e5 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 2fb4cf46d23149aabbc1a03791d27430fc6b9ce1 (diff) | |
[FIX] web: BasicModel: update parent data after record deletion
After the record deletion, the parent should be updated to take the deletion
into account.
This was causing an issue in the Kanban view: after a column deletion, it appeared
again if you created a new one.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
| -rw-r--r-- | addons/web/static/src/js/views/basic/basic_controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views/basic/basic_controller.js b/addons/web/static/src/js/views/basic/basic_controller.js index 4b38ac69403..1e0187b348e 100644 --- a/addons/web/static/src/js/views/basic/basic_controller.js +++ b/addons/web/static/src/js/views/basic/basic_controller.js @@ -294,7 +294,7 @@ var BasicController = AbstractController.extend(FieldManagerMixin, { var self = this; function doIt() { return self.model - .deleteRecords(ids, self.modelName, self.handle) + .deleteRecords(ids, self.modelName) .then(self._onDeletedRecords.bind(self, ids)); } if (this.confirmOnDelete) { |
