From 4b436df20bca502ac9942e9cb3a14b26ed12ae99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 12 Jun 2019 19:08:46 +0200 Subject: [PATCH] Remove record, field from display_update_selection of multiselection The method on selection does not have those parameters anymore. issue8385 review287381003 --- src/view/form.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/view/form.js b/src/view/form.js index d26ab9a2df..f8c41dc3d4 100644 --- a/src/view/form.js +++ b/src/view/form.js @@ -3723,8 +3723,10 @@ function eval_pyson(value){ } return false; }, - display_update_selection: function(record, field) { + display_update_selection: function() { var i, len, element; + var record = this.record; + var field = this.field; this.update_selection(record, field, function() { var yexpand = this.attributes.yexpand; if (yexpand === undefined) {