summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2012-06-27 17:22:34 +0200
committerniv-openerp <nicolas.vanhoren@openerp.com>2012-06-27 17:22:34 +0200
commitec6068aa86e00085470cf4a87e862f4a1fdc3093 (patch)
treedb67768bda9f3043beee64face87758cf24ea513 /addons/web/static/src/xml
parent3f59bab1fc6c9e50d77ddb21146f44dd6283d104 (diff)
[IMP] small modif in textfield
bzr revid: nicolas.vanhoren@openerp.com-20120627152234-e3zc1qrtjwqtkinf
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 4b3457fe9ee..9c4e2a18576 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -904,7 +904,7 @@
class="field_text"
t-att-tabindex="widget.node.attrs.tabindex"
t-att-autofocus="widget.node.attrs.autofocus"
- t-att-placeholder="widget.node.attrs.placeholder"
+ t-att-placeholder="! widget.get('effective_readonly') ? widget.node.attrs.placeholder : ''"
></textarea>
<img class="oe_field_translate oe_input_icon" t-if="widget.field.translate"
t-att-src='_s + "/web/static/src/img/icons/terp-translate.png"' width="16" height="16" border="0"/>