From b47f73bf4ec14d5d95ea567fc62ce05c58ea58a3 Mon Sep 17 00:00:00 2001 From: amdi-odoo Date: Wed, 3 May 2023 09:48:27 +0000 Subject: [PATCH] [IMP] crm,crm_iap{_enrich}{_mine},*: improve UI *: sale,sales_team Improve UI of the CRM app: - Add placeholders and underline m2o fields in the CRM quick create - In the lead generation form, underline the industries field, add the avatar widget on the user_id field, add the color attributes on the tag field, add a placeholder for the states field and set a longer selection field to avoid the caret from overlapping the content. - In the opportunity form, align the expected revenue and probability headers, set a longer width for the expected revenue field, change the recurring plan placeholder. - In the contact opportunities page, change the "Open Opportunities" filter to exclude lost opportunities. - In the Sales team page, add a groupby on the company_id. - In the Sales team form, change the assigned lead count to be a muted text, the pipeline checkbox should be visible only when leads has been activated, the quotations/pipeline/leads options should be aligned. - In the lost lead modal, change the title from "Lost Reason" to "Lost Lead" and the validate button from "Submit" to "Mark as lost". - In the Sales team member form, align the fields on the left and hide the Create Employee field as it should not be displayed there because this is not an hr module. - In the lead analysis tree view, add the lost reason field with optional hide. - Align the enrichment company not found message to the left of the chatter. - Update the crm iap lead role "Search More" list to display human readable names instead of the technical names. Task-3204763 Part-of: odoo/odoo#115326 --- .../report/crm_opportunity_report_views.xml | 3 + addons/crm/views/crm_lead_views.xml | 72 +++++++++---------- addons/crm/views/crm_team_views.xml | 29 ++++---- addons/crm/wizard/crm_lead_lost_views.xml | 6 +- addons/crm_iap_enrich/data/mail_templates.xml | 4 +- .../crm_iap_mine/data/crm.iap.lead.role.csv | 42 +++++------ .../crm_iap_lead_mining_request_views.xml | 12 ++-- .../views/crm_team_member_views.xml | 2 +- addons/sales_team/views/crm_team_views.xml | 5 +- 9 files changed, 86 insertions(+), 89 deletions(-) diff --git a/addons/crm/report/crm_opportunity_report_views.xml b/addons/crm/report/crm_opportunity_report_views.xml index e13f22cf09d..b5c01e2de41 100644 --- a/addons/crm/report/crm_opportunity_report_views.xml +++ b/addons/crm/report/crm_opportunity_report_views.xml @@ -142,6 +142,9 @@ + + + diff --git a/addons/crm/views/crm_lead_views.xml b/addons/crm/views/crm_lead_views.xml index 354f7ad2d52..dea34eccdb9 100644 --- a/addons/crm/views/crm_lead_views.xml +++ b/addons/crm/views/crm_lead_views.xml @@ -50,43 +50,37 @@

-

-
-