summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2011-09-21 12:41:36 +0200
committerniv-openerp <nicolas.vanhoren@openerp.com>2011-09-21 12:41:36 +0200
commit8df96caa72fc55820f85bbd7a2055a36624020ac (patch)
tree5c1c4391df326630aa086bfcb281437ff2f3ac7c /addons/web/static/src/xml/base.xml
parente1bde312fc7d76db34cd7a800293959c061840e6 (diff)
[imp] refactored datetime components to allow usage in the search view
bzr revid: nicolas.vanhoren@openerp.com-20110921104136-pu8yvny228jyi5so
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml17
1 files changed, 10 insertions, 7 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index da5f2e0638e..d2b2f618eec 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -800,13 +800,16 @@
></textarea>
<img class="oe_field_translate" t-if="widget.field.translate" src="/web/static/src/img/icons/terp-translate.png" width="16" height="16" border="0"/>
</t>
-<t t-name="FieldDate">
- <t t-call="FieldChar"/>
- <img class="oe_input_icon oe_datepicker_trigger" src="/web/static/src/img/ui/field_calendar.png"
- title="Select date" width="16" height="16" border="0"/>
- <div class="oe_datepicker ui-widget-content ui-corner-all" style="display: none; position: absolute; z-index: 1;">
- <div class="oe_datepicker_container"/>
- <button type="button" class="oe_datepicker_close ui-state-default ui-priority-primary ui-corner-all" style="float: right;">Done</button>
+<t t-name="web.datetimepicker">
+ <!-- t-att-class="'field_' + widget.type"-->
+ <div>
+ <input type="text" size="1" style="width: 100%"/>
+ <img class="oe_input_icon oe_datepicker_trigger" src="/web/static/src/img/ui/field_calendar.png"
+ title="Select date" width="16" height="16" border="0"/>
+ <div class="oe_datepicker ui-widget-content ui-corner-all" style="display: none; position: absolute; z-index: 1;">
+ <div class="oe_datepicker_container"/>
+ <button type="button" class="oe_datepicker_close ui-state-default ui-priority-primary ui-corner-all" style="float: right;">Done</button>
+ </div>
</div>
</t>
<t t-name="FieldSelection">