Table header is not translated on subsequent pages of Purchase Order and Request For Quotation report
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Undecided
|
OpenERP Publisher's Warranty Team |
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://
Possible solution:
Move the following lines in Request for Quotation and Purchase Order reports:
<para style="
<para style="
above the
<pto_header>
tag.
Related branches
- Naresh(OpenERP) (community): Disapprove
-
Diff: 143 lines (+64/-38)3 files modifiedpurchase/report/order.rml (+23/-23)
purchase/report/request_quotation.rml (+15/-15)
sale/sale.py (+26/-0)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Changed in openobject-addons: | |
status: | New → Fix Committed |