From 4bb09505b05aa51f3f3fd570a0b605ab76b8fb07 Mon Sep 17 00:00:00 2001 From: Philippe Wauthy Date: Fri, 30 Sep 2022 12:57:46 +0000 Subject: [PATCH] [FIX] resource: move "Switch to 1 or 2 weeks calendar" buttons The "Switch to 1 or 2 weeks calendar" are breaking the layout by being placed just before attendances_ids on the Working Hours sheet. With this commit, the buttons are moved in the header of the form. task-2996235 closes odoo/odoo#102711 X-original-commit: e81e03e6511c4d975bd7da4748f11747faf38251 Related: odoo/enterprise#32539 Signed-off-by: Yannick Tivisse (yti) Signed-off-by: phwa-odoo --- addons/resource/views/resource_views.xml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/addons/resource/views/resource_views.xml b/addons/resource/views/resource_views.xml index f1b87e3bb42..3a3874acefa 100644 --- a/addons/resource/views/resource_views.xml +++ b/addons/resource/views/resource_views.xml @@ -262,6 +262,11 @@ resource.calendar
+ +
+
@@ -288,13 +293,7 @@ -