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
=== modified file 'addons/web/static/src/xml/base.xml'
--- addons/web/static/src/xml/base.xml 2013-03-12 23:03:44 +0000
+++ addons/web/static/src/xml/base.xml 2013-03-13 06:18:19 +0000
@@ -650,7 +650,7 @@
650 <li t-if="section.name == 'files'" class="oe_sidebar_add_attachment">650 <li t-if="section.name == 'files'" class="oe_sidebar_add_attachment">
651 <t t-call="HiddenInputFile">651 <t t-call="HiddenInputFile">
652 <t t-set="fileupload_id" t-value="widget.fileupload_id"/>652 <t t-set="fileupload_id" t-value="widget.fileupload_id"/>
653 <t t-set="fileupload_action">/web/binary/upload_attachment</t>653 <t t-set="fileupload_action" t-translation="off">/web/binary/upload_attachment</t>
654 <input type="hidden" name="model" t-att-value="widget.dataset and widget.dataset.model"/>654 <input type="hidden" name="model" t-att-value="widget.dataset and widget.dataset.model"/>
655 <input type="hidden" name="id" t-att-value="widget.model_id"/>655 <input type="hidden" name="id" t-att-value="widget.model_id"/>
656 <input type="hidden" name="session_id" t-att-value="widget.session.session_id"/>656 <input type="hidden" name="session_id" t-att-value="widget.session.session_id"/>