** Changed in: openobject-addons
       Status: New => Fix Committed

** Branch linked: lp:~openerp-dev/openobject-addons/6.0-opw-576501-han

-- 
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):
  Fix Committed

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

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

Reply via email to