From a0217f4475b02660fc687d154f1287029ed0e23d Mon Sep 17 00:00:00 2001 From: Martin Geubelle Date: Fri, 12 May 2017 13:22:01 +0200 Subject: [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. --- addons/web/static/src/js/views/basic/basic_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web/static/src/js/views/basic/basic_controller.js') 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) { -- cgit v1.2.3