From ce625cb3c6769e859d47b3bcc90bc772b7d92a3e Mon Sep 17 00:00:00 2001 From: Stephan Keller Date: Thu, 16 Apr 2020 11:25:26 +0200 Subject: [PATCH] [FIX] partner_multi_relation_tab: use default widget many2one in tree view --- partner_multi_relation_tabs/tablib/tab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/partner_multi_relation_tabs/tablib/tab.py b/partner_multi_relation_tabs/tablib/tab.py index 071fe35bb..61bdfd898 100644 --- a/partner_multi_relation_tabs/tablib/tab.py +++ b/partner_multi_relation_tabs/tablib/tab.py @@ -47,7 +47,7 @@ class Tab(object): type_field = etree.Element( 'field', name='type_selection_id', - widget='many2one_clickable') + widget='many2one') type_field.set('domain', repr([('tab_id', '=', self.tab_record.id)])) type_field.set('options', repr({'no_create': True})) tree.append(type_field) @@ -55,7 +55,7 @@ class Tab(object): 'field', string=_('Partner'), name='other_partner_id', - widget='many2one_clickable') + widget='many2one') other_partner_field.set('options', repr({'no_create': True})) tree.append(other_partner_field) tree.append(etree.Element('field', name='date_start'))