From 07e93dffc872148f5c2466e1aa53422dd0fdc8bf Mon Sep 17 00:00:00 2001 From: houssine Date: Sat, 24 Mar 2018 18:35:11 +0100 Subject: [PATCH] [IMP] create subscription with national register number of the compamny representative --- 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 faf922d..f098c31 100644 --- a/easy_my_coop/wizard/create_subscription_from_partner.py +++ b/easy_my_coop/wizard/create_subscription_from_partner.py @@ -180,6 +180,7 @@ class PartnerCreateSubscription(models.TransientModel): if self.is_company: representative = self._get_representative() vals['name'] = representative.name + vals['no_registre'] = representative.register_number if coop_vals: cooperator.write(coop_vals)