Browse Source

[IMP] Flake8

12.0
scampbell 5 years ago
parent
commit
f1a063ce21
  1. 3
      partner_multi_relation/models/res_partner.py

3
partner_multi_relation/models/res_partner.py

@ -176,7 +176,8 @@ class ResPartner(models.Model):
def action_view_relations(self):
for contact in self:
relation_model = self.env['res.partner.relation.all']
relation_ids = relation_model.search(['|',
relation_ids = relation_model.\
search(['|',
('this_partner_id', '=', contact.id),
('other_partner_id', '=', contact.id)])
action = self.env.ref(

Loading…
Cancel
Save