Merge lp:~openerp-dev/openobject-addons/6.1-opw-576501-han into lp:openobject-addons/6.1

Proposed by Hardik Ansodariya (OpenERP)
Status: Work in progress
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-576501-han
Merge into: lp:openobject-addons/6.1
Diff against target: 28 lines (+3/-3)
1 file modified
purchase/report/request_quotation.rml (+3/-3)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-576501-han
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) Needs Fixing
Review via email: mp+113691@code.launchpad.net

Description of the change

Hello,

I have fixed the issue of "Table header is not translated on subsequent pages of Purchase Order and Request For Quotation report".

Steps:
* Create a customer test and set his language to the loaded translation (e.g Dutch).
* Create a purchase order for customer test
* Create enough purchase order lines so the report will span more than one page
* Print the Request for Quotation report.

On this report, the table headers on the second page will be in english although those on the first page are in Dutch.

Referencing Maintenance Case: 576501

Kindly review it.

Thanks

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

please change .sxw too

Thanks,
Naresh

review: Needs Fixing
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

This bug was qualified as Not Relevant on Trunk (means that architecture on trunk has changed and so this bug has no meaning anymore). If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Thanks,
Naresh Soni

Unmerged revisions

6872. By Hardik Ansodariya (OpenERP)

[FIX] purchase:Table header is not translated on subsequent pages of Purchase Order and Request For Quotation report (Maintenance Case: 576501)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'purchase/report/request_quotation.rml'
2--- purchase/report/request_quotation.rml 2011-12-22 15:17:58 +0000
3+++ purchase/report/request_quotation.rml 2012-07-06 06:00:39 +0000
4@@ -70,6 +70,8 @@
5 </stylesheet>
6 <story>
7 <pto>
8+ <para style="terp_default_9">[[repeatIn(objects,'order')]]</para>
9+ <para style="terp_default_9">[[ setLang(order.partner_id.lang) ]]</para>
10 <pto_header>
11 <blockTable colWidths="371.0,98.0,61.0" repeatRows="1" style="Table_Product_Header_Title">
12 <tr>
13@@ -85,8 +87,6 @@
14 </tr>
15 </blockTable>
16 </pto_header>
17- <para style="terp_default_9">[[repeatIn(objects,'order')]]</para>
18- <para style="terp_default_9">[[ setLang(order.partner_id.lang) ]]</para>
19 <blockTable colWidths="250.0,59.0,221.0" style="Table_Address_Detail">
20 <tr>
21 <td>
22@@ -172,4 +172,4 @@
23 <para style="terp_default_9">[[ user.signature or '' ]]</para>
24 </pto>
25 </story>
26-</document>
27\ No newline at end of file
28+</document>