From 28824a07c5c6fc0de3cbec757ca3b07cc4ab7930 Mon Sep 17 00:00:00 2001 From: pash-odoo Date: Wed, 6 Sep 2023 14:31:37 +0530 Subject: [PATCH] [IMP] hr: add a color picker on department form view and list view Before this commit, If user want to change color of department the only way to do that is by clicking on three dot menu in kanban view. In this commit, added a color picker on department's form view and list view and make list view editable so user can change color of department from form view and list view. so it can be used for a hierarchy view. task-3489447 closes odoo/odoo#134964 Signed-off-by: Yannick Tivisse (yti) --- addons/hr/views/hr_department_views.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/addons/hr/views/hr_department_views.xml b/addons/hr/views/hr_department_views.xml index 5935c9338fc..926255f85bc 100644 --- a/addons/hr/views/hr_department_views.xml +++ b/addons/hr/views/hr_department_views.xml @@ -25,6 +25,7 @@ +
@@ -43,12 +44,14 @@ hr.department.tree hr.department - - - + + + + +