From b4318526c987daa35826fdbda11ff6313123b292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Thu, 4 Apr 2019 15:17:16 +0200 Subject: [PATCH] Pass the right view object when creating an Affix issue8248 review285101002 --- tryton/gui/window/view_form/view/list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tryton/gui/window/view_form/view/list.py b/tryton/gui/window/view_form/view/list.py index 616ae8e198..f2c798ae3b 100644 --- a/tryton/gui/window/view_form/view/list.py +++ b/tryton/gui/window/view_form/view/list.py @@ -306,7 +306,7 @@ class TreeXMLViewParser(XMLViewParser): list_ = prefixes else: list_ = suffixes - list_.append(Affix(self, affix_attrs)) + list_.append(Affix(self.view, affix_attrs)) for prefix in prefixes: column.pack_start(prefix.renderer, expand=prefix.expand)