diff options
| author | jvm-odoo <jvm@odoo.com> | 2020-08-05 07:47:15 +0000 |
|---|---|---|
| committer | jvm-odoo <jvm@odoo.com> | 2020-08-05 13:51:32 +0000 |
| commit | 5bccaaad87b0cb250fbbf5eb243f9f9fa9b0a32f (patch) | |
| tree | 327d6437a909ddaa6498b12233d14f231ac073a4 /addons | |
| parent | d5cd02fcbb3b8318dcaf4928112a2575daf2f379 (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')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 3 |
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> |
