From 6919491b029a13693895d9a238590c3a503a4499 Mon Sep 17 00:00:00 2001 From: houssine Date: Tue, 19 Dec 2017 16:04:12 +0100 Subject: [PATCH] [FIX] fill the mandatory name field when the it's a company subscription --- easy_my_coop/wizard/create_subscription_from_partner.py | 1 + 1 file changed, 1 insertion(+) diff --git a/easy_my_coop/wizard/create_subscription_from_partner.py b/easy_my_coop/wizard/create_subscription_from_partner.py index 0d19f70..3b0232b 100644 --- a/easy_my_coop/wizard/create_subscription_from_partner.py +++ b/easy_my_coop/wizard/create_subscription_from_partner.py @@ -83,6 +83,7 @@ class PartnerCreateSubscription(models.TransientModel): if self.is_company: vals['company_name'] = self.cooperator.name + vals['name'] = '/' vals['company_register_number'] = self.register_number vals['is_company'] = True else: