diff --git a/easy_my_coop/wizard/create_subscription_from_partner.py b/easy_my_coop/wizard/create_subscription_from_partner.py index aecf8c9..6897945 100644 --- a/easy_my_coop/wizard/create_subscription_from_partner.py +++ b/easy_my_coop/wizard/create_subscription_from_partner.py @@ -26,7 +26,7 @@ class PartnerCreateSubscription(models.TransientModel): else: domain.append(('by_individual','=',True)) - return self.env['product.product'].search(domain) + return self.env['product.product'].search(domain)[0] @api.model def _get_partner(self):