[FIX]Fixed the issue of attachment was not added in any other language, because action URL was getting translated.

bzr revid: msh@openerp.com-20130313061416-rmauiz7bqe2omecx
This commit is contained in:
Mohammed Shekha
2013-03-13 11:44:16 +05:30
parent f79f6a5a25
commit 9fea2be12d
+1 -1
View File
@@ -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"/>