From 49d59a20c56f8213c8a39c42d7e8dd4047162fb7 Mon Sep 17 00:00:00 2001 From: Vincent Larcin Date: Tue, 4 Oct 2022 09:06:11 +0000 Subject: [PATCH] [FIX] {sale_}project,hr_timesheet: fix project form CSS This commit fixes some css issues in the "Settings" tab of the project form view. The settings descriptions were wrapping at half the width they were supposed to, and the settings were misaligned compared to the sections titles. closes odoo/odoo#102399 Enterprise: https://github.com/odoo/enterprise/pull/32359 X-original-commit: 74bd1e6af0e3410fc1a474c5f85b1dbb46ceba6e Related: odoo/enterprise#32384 Signed-off-by: Laurent Stukkens (ltu) Signed-off-by: Larcin Vincent (vila) --- addons/project/static/src/css/project.css | 4 ++++ addons/project/views/project_views.xml | 6 +++--- addons/sale_project/views/project_task_views.xml | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/addons/project/static/src/css/project.css b/addons/project/static/src/css/project.css index 449318cb6e7..8b7c6f2bcfe 100644 --- a/addons/project/static/src/css/project.css +++ b/addons/project/static/src/css/project.css @@ -8,3 +8,7 @@ margin-top:2px; margin-right: 6px; } + +.o_form_project_project .o_setting_box { + margin-left: 1.5rem; +} diff --git a/addons/project/views/project_views.xml b/addons/project/views/project_views.xml index 192752af27d..beced19abc0 100644 --- a/addons/project/views/project_views.xml +++ b/addons/project/views/project_views.xml @@ -546,7 +546,7 @@ - +
@@ -594,8 +594,8 @@
- - + +
diff --git a/addons/sale_project/views/project_task_views.xml b/addons/sale_project/views/project_task_views.xml index a02a01e982b..bc48639d696 100644 --- a/addons/sale_project/views/project_task_views.xml +++ b/addons/sale_project/views/project_task_views.xml @@ -40,7 +40,7 @@ {'res_partner_search_mode': 'customer'} - +