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

pull/357/head
docmfried 2016-05-15 11:32:24 +02:00
parent f855877ce6
commit bc468c2506
4 changed files with 3 additions and 29 deletions

View File

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

View File

@ -1,3 +1,3 @@
.oe_form_editable .oe_form .oe_form_field_time input {
width: 7em;
}
}

View File

@ -18,29 +18,4 @@
</t>
</span>
</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>

View File

@ -11,4 +11,4 @@
</xpath>
</template>
</data>
</openerp>
</openerp>