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.
Is there a possibility to make conditionals in the template depending on the current page that is being printed in Qweb reports?
e.g: <t t-if="page > 1"> do something that's on other pages except the first </t>
This was available in the header and footer section of report_webkit
So it's impossibile to know the value of these variables in your qweb code.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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: 10/27/14, 12:12 PM|
|Seen: 1822 times|
|Last updated: 2/3/16, 4:14 AM|