[FIX] have translatable url fields work correctly, courtesy of Guewen Baconnier

bzr revid: xmo@openerp.com-20120831131229-b48hn7fhowlar973
This commit is contained in:
Xavier Morel
2012-08-31 15:12:29 +02:00
+1 -1
View File
@@ -550,7 +550,7 @@
<label class="oe_label"><t t-esc="field.string"/>:</label>
</td>
<td t-foreach="widget.languages" t-as="lg" class="oe_form_frame_cell">
<input t-if="field.type == 'char'" type="text" t-attf-name="#{lg.code}-#{field.name}" value="" data-value="" class="oe_trad_field" style="width: 100%"/>
<input t-if="field.type == 'char' || field.type == 'url'" type="text" t-attf-name="#{lg.code}-#{field.name}" value="" data-value="" class="oe_trad_field" style="width: 100%"/>
<textarea t-if="field.type == 'text'" t-attf-name="#{lg.code}-#{field.name}" data-value="" class="oe_trad_field" style="width: 100%"></textarea>
</td>
</tr>