summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorKunal Chavda (OpenERP) <kch@tinyerp.com>2011-10-24 18:29:12 +0530
committerKunal Chavda (OpenERP) <kch@tinyerp.com>2011-10-24 18:29:12 +0530
commit59f3ab077f4d44b443033069932ca489777fbd13 (patch)
tree69f2b11e593272811224bae9442c59964006bab9 /addons/web/static/src/xml/base.xml
parentf76bdfb1fa4a2de837eacf619a211c805d23a226 (diff)
[IMP]Improved code for edit node by setting its value.
bzr revid: kch@tinyerp.com-20111024125912-m9w3v9bnikurtlxf
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml21
1 files changed, 17 insertions, 4 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index cc3a0af8341..cf74e14ebfc 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -778,13 +778,13 @@
<p class="oe_form_paragraph"><t t-esc="widget.string"/></p>
</t>
<t t-name="FieldChar">
- <input type="text" size="12"
+ <input type="text" size="1"
t-att-name="widget.name"
t-att-id="widget.element_id"
t-attf-class="field_#{widget.type}"
-
+ t-attf-style="width: #{widget.field.translate ? '99' : '100'}%"
/>
- <!-- img class="oe_field_translate" t-if="widget.field.translate" src="/web/static/src/img/icons/terp-translate.png" width="16" height="16" border="0"/-->
+ <img class="oe_field_translate" t-if="widget.field.translate" src="/web/static/src/img/icons/terp-translate.png" width="16" height="16" border="0"/>
</t>
<t t-name="FieldChar.readonly">
<div
@@ -1333,7 +1333,20 @@
<t t-set="data" t-value="rec.child_id"/>
<t t-call="view_editor.row"/>
</t>
- </tr>
+</tr>
+<t t-name="view_char">
+ <input type="text" class="field_char" size="50"/>
+</t>
+<t t-name="view_selection">
+ <select>
+ <option selected="true"></option>
+ <option>ToDo</option>
+ </select>
+</t>
+<t t-name="view_boolean">
+ <input type="checkbox"/>
+</t>
+
<t t-name="ExportView">
<a id="exportview" href="javascript: void(0)" style="text-decoration: none;color: #3D3D3D;">Export</a>
</t>