From 09aa28c0d0d856d52db258ac03c819250155e5f5 Mon Sep 17 00:00:00 2001 From: Nisha patel Date: Thu, 17 Dec 2020 11:35:03 +0000 Subject: [PATCH] [IMP] various: generic improvements of the various module Purpose of this task is to improve the various modules like crm_iap_lead, hr, hr_timesheet, product, project, web. So in this commit done the below changes: - timesheet: project is open in the form view insted of the quick view - earlier the popup window notification is sticky so after this commit it will disappear automatically after a few seconds - product form view: 'extra prices' display as a link - project sample data: move the helper a bit higher in mobile view - CRM > Generate leads > industries > search more: rename 'tag name' into 'Industry' - preferred_role_id: 'ceo' written in all caps - employees kanban view: the chat icon aligned to the bottom of the card - move the project tour droplet to the right of the add button. closes odoo/odoo#63693 Task-id: 2374726 Related: odoo/enterprise#15426 Signed-off-by: Yannick Tivisse (yti) --- addons/crm_iap_lead/data/crm.iap.lead.role.csv | 2 +- addons/crm_iap_lead/models/crm_iap_lead.py | 2 +- addons/hr/views/hr_employee_views.xml | 2 +- addons/hr_timesheet/views/hr_timesheet_views.xml | 2 +- addons/product/views/product_views.xml | 4 ++-- addons/project/static/src/js/tours/project.js | 14 ++++++++++---- .../project/static/src/scss/project_dashboard.scss | 6 ++++++ addons/web/static/src/js/chrome/action_manager.js | 2 +- 8 files changed, 23 insertions(+), 11 deletions(-) diff --git a/addons/crm_iap_lead/data/crm.iap.lead.role.csv b/addons/crm_iap_lead/data/crm.iap.lead.role.csv index ff16c274973..ff438c230c7 100644 --- a/addons/crm_iap_lead/data/crm.iap.lead.role.csv +++ b/addons/crm_iap_lead/data/crm.iap.lead.role.csv @@ -1,5 +1,5 @@ "id",name,reveal_id -"crm_iap_lead_role_1","ceo","ceo" +"crm_iap_lead_role_1","CEO","CEO" "crm_iap_lead_role_2","communications","communications" "crm_iap_lead_role_3","consulting","consulting" "crm_iap_lead_role_4","customer_service","customer_service" diff --git a/addons/crm_iap_lead/models/crm_iap_lead.py b/addons/crm_iap_lead/models/crm_iap_lead.py index 1383027b560..695cf701f68 100644 --- a/addons/crm_iap_lead/models/crm_iap_lead.py +++ b/addons/crm_iap_lead/models/crm_iap_lead.py @@ -6,7 +6,7 @@ class IndustryTag(models.Model): _name = 'crm.iap.lead.industry' _description = 'Industry Tag' - name = fields.Char(string='Tag Name', required=True, translate=True) + name = fields.Char(string='Industry', required=True, translate=True) reveal_id = fields.Char(required=True) color = fields.Integer(string='Color Index') diff --git a/addons/hr/views/hr_employee_views.xml b/addons/hr/views/hr_employee_views.xml index cf7dd19cff0..8c495ee28ad 100644 --- a/addons/hr/views/hr_employee_views.xml +++ b/addons/hr/views/hr_employee_views.xml @@ -291,7 +291,7 @@
  • -
    +
    diff --git a/addons/hr_timesheet/views/hr_timesheet_views.xml b/addons/hr_timesheet/views/hr_timesheet_views.xml index 93a0fb8df14..47b66c38735 100644 --- a/addons/hr_timesheet/views/hr_timesheet_views.xml +++ b/addons/hr_timesheet/views/hr_timesheet_views.xml @@ -24,7 +24,7 @@ - + diff --git a/addons/product/views/product_views.xml b/addons/product/views/product_views.xml index f9f7480fc1f..bb6aa6c6db4 100644 --- a/addons/product/views/product_views.xml +++ b/addons/product/views/product_views.xml @@ -45,12 +45,12 @@ -