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