Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I want to achieve 'page x of y' in a paragraph, so that paragraph style could be applied to these values, like:
<place x="14cm" y="20cm" height="2cm" width="5cm"> <para style="mystyle">Page x of y</para> </place>
The snippet below displays page number, but does not display total page count, looks like pageCount is not rendered at all:
<place x="14cm" y="20cm" height="2cm" width="5cm"> <para style="mystyle">Page <pageNumber/> of <pageCount/></para> </place>
A workaround could be to display <pagecount/> by use of drawstring, but then font size cannot be changed:
<drawString x="14cm" y="20cm"><pageCount/></drawString>
Are there other options to achieve 'Page x of y'? By use of sequences maybe?
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/28/13, 2:38 AM|
|Seen: 4972 times|
|Last updated: 4/8/15, 4:43 AM|