Comment 5 for bug 516966

Revision history for this message
Numérigraphe (numerigraphe) wrote : Re: report_sxw: pageCount and pageNumberReset not handled correctly with grouped printing

Oh sorry, I just clicked on.

First, about the page numbering, you will notice that the behavior is not the same on invoices and sale orders - that's why I added a <pageNumberReset/> in the first place.
Invoices are numbered like you said, but orders are numbered as :
-- page 1/5-- -- page 2/5-- -- page 3/5-- -- page 4/5-- -- page 5/5--
--order1- ---order1-- --order2----order3----order3--
Maybe it's due to the fact that order PDF's are not kept as attachements? - I didn't check this yet.

Now to the main issue: Jay you're right, it works fine as long as you *don't* "Add <pageNumberReset/> just before the </story> tag", which is what Xavier and I did. If ever you do, then the page count will be wrong.
So basically I think the <pageNumberReset/> tag is broken (which may not be such a big deal after all).

Lionel