From 70f81c6aadcd456a09c0ec4d50a7cb090ce125ff Mon Sep 17 00:00:00 2001 From: Ronald Portier Date: Fri, 9 Feb 2018 18:04:12 +0100 Subject: [PATCH] [FIX] partner_multi_relation. Drop is_inverse from vals on creation of relation. --- partner_multi_relation/models/res_partner_relation_all.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/partner_multi_relation/models/res_partner_relation_all.py b/partner_multi_relation/models/res_partner_relation_all.py index 725dbdee5..84525d4e8 100644 --- a/partner_multi_relation/models/res_partner_relation_all.py +++ b/partner_multi_relation/models/res_partner_relation_all.py @@ -382,7 +382,8 @@ CREATE OR REPLACE VIEW %%(table)s AS for key in ( 'this_partner_id', 'type_selection_id', - 'other_partner_id'): + 'other_partner_id', + 'is_inverse'): if key in vals: del vals[key] return vals