summaryrefslogtreecommitdiff
path: root/addons/web
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2013-04-02 16:40:39 +0200
committerChristophe Matthieu <chm@openerp.com>2013-04-02 16:40:39 +0200
commitf3ce4dedf3cdae43b4931b5f3c832f1abd54b29e (patch)
tree41ba549a173a60f799d4d7f608ef62bc3961fc4b /addons/web
parentcea7a7a0abbac7df16a93472989ee5fa464cda44 (diff)
parent9fea2be12d254adc71d805c2f6c4bbfcb972427e (diff)
[FIX] view_form: Fixed the issue of attachment was not added in any other language, because action URL was getting translated.
bzr revid: chm@openerp.com-20130402144039-y0xoaijds4ipw7g0
Diffstat (limited to 'addons/web')
-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 c9adc91a6ad..04af9e6722d 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -650,7 +650,7 @@
<li t-if="section.name == 'files'" class="oe_sidebar_add_attachment">
<t t-call="HiddenInputFile">
<t t-set="fileupload_id" t-value="widget.fileupload_id"/>
- <t t-set="fileupload_action">/web/binary/upload_attachment</t>
+ <t t-set="fileupload_action" t-translation="off">/web/binary/upload_attachment</t>
<input type="hidden" name="model" t-att-value="widget.dataset and widget.dataset.model"/>
<input type="hidden" name="id" t-att-value="widget.model_id"/>
<input type="hidden" name="session_id" t-att-value="widget.session.session_id"/>