From fe0f0552edf28f56959f34dc86f982157d35bd02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 24 Mar 2023 11:06:22 +0100 Subject: [PATCH] Remove process_exception argument when calling update_selection The changeset 61900bf04dfb added such argument to caller when it does not exist on the method definition. --- tryton/tryton/gui/window/view_form/view/list_gtk/widget.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tryton/tryton/gui/window/view_form/view/list_gtk/widget.py b/tryton/tryton/gui/window/view_form/view/list_gtk/widget.py index f11364e395..e514d010b5 100644 --- a/tryton/tryton/gui/window/view_form/view/list_gtk/widget.py +++ b/tryton/tryton/gui/window/view_form/view/list_gtk/widget.py @@ -1112,7 +1112,7 @@ class Selection(GenericText, SelectionMixin, PopdownMixin): record.load(self.attrs['name'], process_exception=False) field = record[self.attrs['name']] - self.update_selection(record, field, process_exception=False) + self.update_selection(record, field) value = self.get_value(record, field) text = dict(self.selection).get(value, '') if value and not text: @@ -1196,7 +1196,7 @@ class MultiSelection(GenericText, SelectionMixin): record.load(self.attrs['name'], process_exception=False) field = record[self.attrs['name']] - self.update_selection(record, field, process_exception=False) + self.update_selection(record, field) selection = dict(self.selection) values = [] for value in field.get_eval(record):