diff options
| author | fwi-odoo <fwi@odoo.com> | 2017-02-07 15:33:32 +0100 |
|---|---|---|
| committer | fwi-odoo <fwi@odoo.com> | 2017-02-07 15:42:25 +0100 |
| commit | 64a0ece649753abd7ef6e91648ef76a158a222d1 (patch) | |
| tree | dd109997681dde9b9641c89d82f4980b94a510a3 /addons/web/static/src/xml/base.xml | |
| parent | a27d826ee2b65faa298aed115c6c472a03909704 (diff) | |
[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'.
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 16 |
1 files changed, 6 insertions, 10 deletions
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 @@ <t t-name="web.datepicker"> <t t-set="placeholder" t-value="widget.getParent().node and widget.getParent().node.attrs.placeholder"/> - <div> - <div class="o_bootstrap_datepicker_parent"></div> - <div class="o_datepicker"> - <input type="text" - class="o_datepicker_input" - t-att-name="widget.name" - t-att-placeholder="placeholder"/> - <span class="o_datepicker_button"/> - </div> + <div class="o_datepicker"> + <input type="text" + class="o_datepicker_input" + t-att-name="widget.name" + t-att-placeholder="placeholder"/> + <span class="o_datepicker_button"/> </div> - </t> <t t-name="FieldSelection"> <span t-if="widget.get('effective_readonly')"/> |
