From 75e8ffa28518bc71928f444933a46d8010f623f2 Mon Sep 17 00:00:00 2001 From: houssine Date: Tue, 12 Nov 2019 11:14:58 +0100 Subject: [PATCH] [IMP] make register number non required --- easy_my_coop/wizard/create_subscription_from_partner.py | 1 - easy_my_coop/wizard/create_subscription_from_partner.xml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/easy_my_coop/wizard/create_subscription_from_partner.py b/easy_my_coop/wizard/create_subscription_from_partner.py index ea45d3d..7513bc7 100644 --- a/easy_my_coop/wizard/create_subscription_from_partner.py +++ b/easy_my_coop/wizard/create_subscription_from_partner.py @@ -98,7 +98,6 @@ class PartnerCreateSubscription(models.TransientModel): string="Cooperator", default=_get_partner) register_number = fields.Char(string="Register Company Number", - required=True, default=_get_register_number) email = fields.Char(string="Email", required=True, diff --git a/easy_my_coop/wizard/create_subscription_from_partner.xml b/easy_my_coop/wizard/create_subscription_from_partner.xml index c59da3d..3be766b 100644 --- a/easy_my_coop/wizard/create_subscription_from_partner.xml +++ b/easy_my_coop/wizard/create_subscription_from_partner.xml @@ -15,7 +15,7 @@ - +