From 5e2b103cf095aa9c6e7d79fc27c0d1d0ce8a6dae Mon Sep 17 00:00:00 2001 From: honey patel Date: Fri, 26 Feb 2021 09:14:47 +0000 Subject: [PATCH] [FIX] hr,(_contract): fix small issue of groupby dropdown Currently, groupby and filter dropdown are not working properly on employee kanban card because when dropdown is exact on position of fixed-bottom it will direcly click on the kanban card instead of the custom groupby dropdown due to higher z-index of the fixed-bottom then dropdown-menu. also chat icon in fixed-bottom is overlap on zoomed image as zoomodoo-flyout has z-index 100. fixed-bottom has z-index 1030 while drodown has z-index 1000 so instead of clicking on dropdown it was going to click on kanbancard bottom. So in this commit, improve the behaviour and decrease the z-index of fixed-bottom to allow the click on custom groupby dropdown and hide the chat icon behind the zoomed image. Also when try to create contract, employee field does not show proper. so moved it before start date with label. closes odoo/odoo#66788 Taskid: 2452363 Signed-off-by: Yannick Tivisse (yti) --- addons/hr/static/src/scss/hr.scss | 4 ++++ addons/hr_contract/views/hr_contract_views.xml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/addons/hr/static/src/scss/hr.scss b/addons/hr/static/src/scss/hr.scss index af5f76ee9f0..bfadf389a0d 100644 --- a/addons/hr/static/src/scss/hr.scss +++ b/addons/hr/static/src/scss/hr.scss @@ -19,4 +19,8 @@ white-space: nowrap; } + .oe_kanban_content.fixed-bottom { + z-index: 100; + } + } diff --git a/addons/hr_contract/views/hr_contract_views.xml b/addons/hr_contract/views/hr_contract_views.xml index 796047ebb4a..6f415a48e53 100644 --- a/addons/hr_contract/views/hr_contract_views.xml +++ b/addons/hr_contract/views/hr_contract_views.xml @@ -143,12 +143,12 @@

-

+