summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorjvm-odoo <jvm@odoo.com>2020-08-05 07:47:15 +0000
committerjvm-odoo <jvm@odoo.com>2020-08-05 13:51:32 +0000
commit5bccaaad87b0cb250fbbf5eb243f9f9fa9b0a32f (patch)
tree327d6437a909ddaa6498b12233d14f231ac073a4 /addons/web/static/src
parentd5cd02fcbb3b8318dcaf4928112a2575daf2f379 (diff)
[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) <nle@odoo.com> Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/xml/base.xml3
1 files changed, 2 insertions, 1 deletions
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"/>
<span class="o_datepicker_button"/>
</div>
</t>