← Back to team overview

openerp-india team mailing list archive

[Bug 1020052] Re: Table header is not translated on subsequent pages of Purchase Order and Request For Quotation report

 

** Attachment added: "None (3).pdf"
   https://bugs.launchpad.net/bugs/1020052/+attachment/3210722/+files/None%20%283%29.pdf

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1020052

Title:
  Table header is not translated on subsequent pages of Purchase Order
  and Request For Quotation report

Status in OpenERP Addons (modules):
  New

Bug description:
  When a Request For Quotation or Purchase Order report spans more than
  one page, the table headers are not translated on the 2nd page.

  Steps to reproduce:

  Using trunk and a clean database, install purchase module, and load a
  translation (eg Dutch).

  * Create a customer test and set his language to the loaded translation (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.
  Attached is such a Request for Quotation made on http://trunk_12679.runbot.openerp.com/

  Possible solution:

  Move the following lines in Request for Quotation and Purchase Order
  reports:

      <para style="terp_default_8">[[repeatIn(objects,'o')]]</para>
      <para style="terp_default_8">[[ setLang(o.partner_id.lang) ]]</para>

  above the

      <pto_header>

  tag.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1020052/+subscriptions


References