diff --git a/tryton/gui/window/view_form/view/form_gtk/many2many.py b/tryton/gui/window/view_form/view/form_gtk/many2many.py index b885336fe3..c2eb317350 100644 --- a/tryton/gui/window/view_form/view/form_gtk/many2many.py +++ b/tryton/gui/window/view_form/view/form_gtk/many2many.py @@ -152,7 +152,7 @@ class Many2Many(WidgetInterface): if len(ids) != 1 or not value: WinSearch(self.attrs['relation'], callback, sel_multi=True, ids=ids, context=context, domain=domain, - views_ids=self.attrs.get('views_ids').split(','), + view_ids=self.attrs.get('view_ids', '').split(','), views_preload=self.attrs.get('views', {})) else: callback(ids)