Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits: accde051 by Cédric Krier at 2023-03-18T14:38:41+01:00 Do not try to load :string value to render textual value for tryton list The changeset 61900bf04dfb added such call when it is not needed and always fails. - - - - - 1 changed file: - tryton/tryton/gui/window/view_form/view/list_gtk/widget.py Changes: ===================================== tryton/tryton/gui/window/view_form/view/list_gtk/widget.py ===================================== @@ -1107,7 +1107,6 @@ @catch_errors() def get_textual_value(self, record): related = self.attrs['name'] + ':string' - record.load(related, process_exception=False) if not self.view.editable and related in record.value: return record.value[related] @@ -1192,7 +1191,6 @@ @catch_errors() def get_textual_value(self, record): related = self.attrs['name'] + ':string' - record.load(related, process_exception=False) if not self.view.editable and related in record.value: return ";".join(record.value[related]) View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/commit/accde0515621576e425d57e57dee3bc39aa58084 -- View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/commit/accde0515621576e425d57e57dee3bc39aa58084 You're receiving this email because of your account on foss.heptapod.net.