From 05e04c8f1d0526d1651a215ade0080a7c40bc01a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan=20Sainl=C3=A9ger?= Date: Wed, 11 May 2022 08:05:54 +0200 Subject: [PATCH] [UPD] Add email-pro field in portal organization registrationf form --- .../controllers/portal_organization_registration.py | 1 + lcc_members_portal/models/crm_lead.py | 1 + .../views/portal_organization_registration.xml | 11 ++++++++--- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/lcc_members_portal/controllers/portal_organization_registration.py b/lcc_members_portal/controllers/portal_organization_registration.py index f8fc41bd..ce3e4b1b 100644 --- a/lcc_members_portal/controllers/portal_organization_registration.py +++ b/lcc_members_portal/controllers/portal_organization_registration.py @@ -25,6 +25,7 @@ class PortalOrganizationRegistration(CustomerPortal): "opening_time", "discount", "function", + "email_pro", "phone_pro", "message_from_candidate", ] diff --git a/lcc_members_portal/models/crm_lead.py b/lcc_members_portal/models/crm_lead.py index 59e7becd..5b0c5f81 100644 --- a/lcc_members_portal/models/crm_lead.py +++ b/lcc_members_portal/models/crm_lead.py @@ -32,6 +32,7 @@ class Lead(models.Model): _POSITION_PROFILE_FIELDS = [ "function", + "email_pro", "phone_pro", ] diff --git a/lcc_members_portal/views/portal_organization_registration.xml b/lcc_members_portal/views/portal_organization_registration.xml index ddc27d3f..305e0311 100644 --- a/lcc_members_portal/views/portal_organization_registration.xml +++ b/lcc_members_portal/views/portal_organization_registration.xml @@ -143,16 +143,21 @@ Your position in the organisation
-
- +
+ - +
+
+ + + +