Merge lp:~openerp-dev/openerp-web/7.0-opw-589793-msh into lp:openerp-web/7.0

Proposed by Mohammed Shekha(Open ERP)
Status: Merged
Merge reported by: Christophe Matthieu (OpenERP)
Merged at revision: not available
Proposed branch: lp:~openerp-dev/openerp-web/7.0-opw-589793-msh
Merge into: lp:openerp-web/7.0
Diff against target: 12 lines (+1/-1)
1 file modified
addons/web/static/src/xml/base.xml (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openerp-web/7.0-opw-589793-msh
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+153059@code.launchpad.net

Description of the change

Hello,

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

Demo: Add attachment in any view with romanian language loaded, you will not be able to add attachment because action URL got translated.

Thanks.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'addons/web/static/src/xml/base.xml'
2--- addons/web/static/src/xml/base.xml 2013-03-12 23:03:44 +0000
3+++ addons/web/static/src/xml/base.xml 2013-03-13 06:18:19 +0000
4@@ -650,7 +650,7 @@
5 <li t-if="section.name == 'files'" class="oe_sidebar_add_attachment">
6 <t t-call="HiddenInputFile">
7 <t t-set="fileupload_id" t-value="widget.fileupload_id"/>
8- <t t-set="fileupload_action">/web/binary/upload_attachment</t>
9+ <t t-set="fileupload_action" t-translation="off">/web/binary/upload_attachment</t>
10 <input type="hidden" name="model" t-att-value="widget.dataset and widget.dataset.model"/>
11 <input type="hidden" name="id" t-att-value="widget.model_id"/>
12 <input type="hidden" name="session_id" t-att-value="widget.session.session_id"/>