report : pageCount "working" only in internal document/page

Bug #953012 reported by Antoine
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
Low
OpenERP's Framework R&D

Bug Description

Impossible to use pageCount field in external document.
Tag show 0.

Impossible to put image on internal document/page header.
I found that : http://code.activestate.com/recipes/576832/

Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
David Soria (zorobabel-omicron) wrote :

If you comment the line 945 of trml2pdf.py, this issues disappears:

            #fis.append(PageReset())

Why OpenERP's reporting tools are so weak and limited?

Revision history for this message
David Soria (zorobabel-omicron) wrote :
Revision history for this message
Marco Weiß (marco-weiss) wrote :

Hi that works for me if i inserting the following two lines in OpenERP 6.0.4 in Header/Footer over the WebUI

            <drawString x="19.00cm" y="0.60cm"> Seite <pageNumber/> von</drawString>
            <drawString x="20.40cm" y="0.60cm"> <pageCount/></drawString>

But i cant't use it in report_sale_layout.rml or report_account_invoice_layout.rml
Can you tell me how to do this for sale and invocio report to get a page x of y after the seles order line?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.