Browse Source

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

pull/654/head
Ronald Portier 7 years ago
committed by Pedro M. Baeza
parent
commit
b8d15aeaf3
  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 (
'this_partner_id',
'type_selection_id',
'other_partner_id'):
'other_partner_id',
'is_inverse'):
if key in vals:
del vals[key]
return vals

Loading…
Cancel
Save