Browse Source

[FIX] partner_multi_relation. Drop is_inverse from vals on creation of relation.

14.0
Ronald Portier 7 years ago
committed by Raf Ven
parent
commit
531ce67eef
  1. 3
      partner_multi_relation/models/res_partner_relation_all.py

3
partner_multi_relation/models/res_partner_relation_all.py

@ -382,7 +382,8 @@ CREATE OR REPLACE VIEW %%(table)s AS
for key in ( for key in (
'this_partner_id', 'this_partner_id',
'type_selection_id', 'type_selection_id',
'other_partner_id'):
'other_partner_id',
'is_inverse'):
if key in vals: if key in vals:
del vals[key] del vals[key]
return vals return vals

Loading…
Cancel
Save