mirror of https://github.com/OCA/web.git
[ADD] Added new form field web timepicker widget for Odoo Version 9.0
parent
f855877ce6
commit
bc468c2506
|
@ -47,4 +47,3 @@ Contributors
|
|||
------------
|
||||
|
||||
* Michael Fried
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
.oe_form_editable .oe_form .oe_form_field_time input {
|
||||
width: 7em;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
</openerp>
|
||||
</openerp>
|
||||
|
|
Loading…
Reference in New Issue