diff --git a/partner_relations/model/res_partner_relation_all.py b/partner_relations/model/res_partner_relation_all.py index f87b5da7e..a7946982d 100644 --- a/partner_relations/model/res_partner_relation_all.py +++ b/partner_relations/model/res_partner_relation_all.py @@ -158,7 +158,8 @@ class ResPartnerRelationAll(models.AbstractModel): this.type_selection_id.name_get()[0][1], this.other_partner_id.name, ) - for this in self.browse(cr, uid, ids, context=context)} + for this in self + } @api.one def write(self, vals):