diff --git a/tryton/gui/window/view_form/view/list.py b/tryton/gui/window/view_form/view/list.py index 34922e08b8..abfe70adf0 100644 --- a/tryton/gui/window/view_form/view/list.py +++ b/tryton/gui/window/view_form/view/list.py @@ -287,7 +287,7 @@ class ViewList(ParserView): return False model = model.models[path[0][0]] - if path[1]._type == 'many2one': + if hasattr(path[1], '_type') and path[1]._type == 'many2one': value = model[path[1].name].get(model) ir_action_keyword = RPCProxy('ir.action.keyword') try: