From 64a0ece649753abd7ef6e91648ef76a158a222d1 Mon Sep 17 00:00:00 2001 From: fwi-odoo Date: Tue, 7 Feb 2017 15:33:32 +0100 Subject: [PATCH] [FIX] web: simplify the datepicker template The library needs to have a 'relative' positioned parent to place the datetimepicker correctly. We don't do that in the template anymore because it was not working in all the cases. The template which instantiates the datepicker should define a parent in position 'relative'. --- addons/web/static/src/less/datepicker.less | 6 ------ addons/web/static/src/xml/base.xml | 16 ++++++---------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/addons/web/static/src/less/datepicker.less b/addons/web/static/src/less/datepicker.less index 29ae830280c..a1ecab3fdc2 100644 --- a/addons/web/static/src/less/datepicker.less +++ b/addons/web/static/src/less/datepicker.less @@ -12,13 +12,7 @@ border: 0; } -.o_bootstrap_datepicker_parent{ - position: relative; -} - .o_datepicker { - position: relative; - .o_datepicker_input { width: 100%; } diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 9e38841b946..015e4fe7b79 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -831,17 +831,13 @@ -
-
-
- - -
+
+ +
-