Hardik Ansodariya (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.1-opw-576501-han into 
lp:openobject-addons/6.1.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-576501-han/+merge/113334

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 
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-576501-han/+merge/113334
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-576501-han.
=== modified file 'purchase/report/order.rml'
--- purchase/report/order.rml	2012-05-24 12:51:39 +0000
+++ purchase/report/order.rml	2012-07-04 06:13:23 +0000
@@ -130,9 +130,9 @@
   </stylesheet>
   <story>
   <pto>
-  <para style="terp_default_8">[[repeatIn(objects,'o')]]</para>
-  <para style="terp_default_8">[[ setLang(o.partner_id.lang) ]]</para>
   <pto_header>
+    <para style="terp_default_8">[[repeatIn(objects,'o')]]</para>
+    <para style="terp_default_8">[[ setLang(o.partner_id.lang) ]]</para>
     <blockTable colWidths="180.0,70.0,60.0,80.0,60.0,85.0" repeatRows="1" style="Table_Header_Pur_ord_Line">
       <tr>
         <td>

=== modified file 'purchase/report/request_quotation.rml'
--- purchase/report/request_quotation.rml	2011-12-22 15:17:58 +0000
+++ purchase/report/request_quotation.rml	2012-07-04 06:13:23 +0000
@@ -71,22 +71,22 @@
   <story>
   <pto>
   <pto_header>
-    <blockTable colWidths="371.0,98.0,61.0" repeatRows="1" style="Table_Product_Header_Title">
-      <tr>
-        <td>
-          <para style="terp_tblheader_Details">Description</para>
-        </td>
-        <td>
-          <para style="terp_tblheader_Details_Centre">Expected Date</para>
-        </td>
-        <td>
-          <para style="terp_tblheader_Details_Centre">Qty</para>
-        </td>
-      </tr>
-    </blockTable>
-  </pto_header>
     <para style="terp_default_9">[[repeatIn(objects,'order')]]</para>
     <para style="terp_default_9">[[ setLang(order.partner_id.lang) ]]</para>
+    <blockTable colWidths="371.0,98.0,61.0" repeatRows="1" style="Table_Product_Header_Title">
+      <tr>
+        <td>
+          <para style="terp_tblheader_Details">Description</para>
+        </td>
+        <td>
+          <para style="terp_tblheader_Details_Centre">Expected Date</para>
+        </td>
+        <td>
+          <para style="terp_tblheader_Details_Centre">Qty</para>
+        </td>
+      </tr>
+    </blockTable>
+  </pto_header>
     <blockTable colWidths="250.0,59.0,221.0" style="Table_Address_Detail">
       <tr>
         <td>
@@ -172,4 +172,4 @@
     <para style="terp_default_9">[[ user.signature or '' ]]</para>
   </pto>
   </story>
-</document>
\ No newline at end of file
+</document>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to