From 5bccaaad87b0cb250fbbf5eb243f9f9fa9b0a32f Mon Sep 17 00:00:00 2001 From: jvm-odoo Date: Wed, 5 Aug 2020 07:47:15 +0000 Subject: [PATCH] [FIX] web: fix autocomplete over datepicker Issue - Sales > Create a quotation - Click on quotation date or start writing in it On chrome, if addresses autocomplete is enable and have data to show, a dropdown will overflow on the datepicker Cause This is mainly a chrome issue and the only way to solve it without a fix is to disable the autocomplete totally which is not really a solution since we want the autocomplete on adresses Solution Add the autocomplete off on datepicker field OPW-2308278 closes odoo/odoo#55470 X-original-commit: b40fef968ab000870574ae45ba482288cdf94ad1 Signed-off-by: Nicolas Lempereur (nle) Signed-off-by: Jason Van Malder (jvm) --- addons/web/static/src/xml/base.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 1e75a8dacc0..12eff26e6ac 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1247,7 +1247,8 @@ class="o_datepicker_input o_input datetimepicker-input" t-att-name="widget.name" t-att-placeholder="placeholder" - t-attf-data-target="##{datepickerID}"/> + t-attf-data-target="##{datepickerID}" + autocomplete="off"/>