diff --git a/tryton/gui/window/view_form/view/list.py b/tryton/gui/window/view_form/view/list.py index 408ded5ff4..dde4ea6ebe 100644 --- a/tryton/gui/window/view_form/view/list.py +++ b/tryton/gui/window/view_form/view/list.py @@ -510,8 +510,8 @@ class ViewList(ParserView): if fields: try: - rpc.execute('model', 'ir.ui.view_tree_width', - 'set_width', self.screen.name, fields, rpc.CONTEXT) + rpc.execute('model', 'ir.ui.view_tree_width', 'set_width', + self.screen.model_name, fields, rpc.CONTEXT) except: pass self.widget_tree.destroy()