I want to create a report with different header and footer on each pages. I am able to create the report with different header and footer but the page numbers are printed 1/1 in all pages instead of correct page numbers.
I am able to do it by parsing different headers, contents and footers for each pages in a single template but the page numbers are not working.
My File output: is https://drive.google.com/file/d/1l5M56z3fGr9Q1fhm8LIBS8UZI89L5upO/view?usp=sharing
I want it to be rendered like: https://drive.google.com/file/d/1RwJBlADzQS436LrYHhYEzRRNdgPK3DdF/view?usp=sharing
How to add page numbers in QWEB Reports: http://learnopenerp.blogspot.com/2017/11/how-to-add-page-number-in-qweb-reports.html