Browse Source

[ADD] Added new form field web timepicker widget for Odoo Version 9.0

pull/1248/head
docmfried 9 years ago
committed by Dennis Sluijk
parent
commit
50586c1ba2
  1. 1
      web_widget_timepicker/README.rst
  2. 25
      web_widget_timepicker/static/src/xml/time_picker.xml

1
web_widget_timepicker/README.rst

@ -47,4 +47,3 @@ Contributors
------------ ------------
* Michael Fried * Michael Fried

25
web_widget_timepicker/static/src/xml/time_picker.xml

@ -18,29 +18,4 @@
</t> </t>
</span> </span>
</t> </t>
<!-- <t t-name="TimePickerField">
<span t-att-class="'oe_form_field '+widget.widget_class" t-att-style="widget.node.attrs.style">
<t t-if="!widget.get('effective_readonly')">
<input t-att-type="'text'"
class="o_timepicker_input"
t-att-id="widget.id_for_label"
t-att-tabindex="widget.node.attrs.tabindex"
t-att-autofocus="widget.node.attrs.autofocus"
t-att-placeholder="widget.node.attrs.placeholder"
t-att-maxlength="widget.field.size"/>
<span class="fa fa-clock-o o_timepicker_button"/>
<div class="o_timepicker">
<input type="text" class="o_timepicker_input"/>
<span class="fa fa-clock-o o_timepicker_button"/>
</div>
</t>
</span>
</t>
-->
</templates> </templates>
Loading…
Cancel
Save