You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<?xml version="1.0" encoding="utf-8"?> <!--
Base phone module for OpenERP Copyright (C) 2013-2014 Alexis de Lattre <alexis@via.ecp.fr> The licence is in the file __openerp__.py -->
<templates id="template" xml:space="preserve">
<t t-name="FieldPhone"> <span class="oe_form_field oe_form_field_email" t-att-style="widget.node.attrs.style"> <t t-if="widget.get('effective_readonly')"> <a href="#" class="oe_form_uri"/><span class="oe_form_char_content"/> <!--
You should add the following "<a .. />" in your IPBX-specific module (such as asterisk_click2dial) via <t t-extend="FieldPhone"> <a id="click2dial" href="#" class="oe_bold"/> --> </t> <t t-if="!widget.get('effective_readonly')"> <div> <input type="text" 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" /> </div> </t> </span> </t>
<t t-name="FieldFax"> <span class="oe_form_field oe_form_field_email" t-att-style="widget.node.attrs.style"> <t t-if="widget.get('effective_readonly')"> <a href="#" class="oe_form_uri"/><span class="oe_form_char_content"/> </t> <t t-if="!widget.get('effective_readonly')"> <div> <input type="text" 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" /> </div> </t> </span> </t>
</templates>
|