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
|Asked: 10/27/14, 12:12 PM|
|Seen: 1613 times|
|Last updated: 2/3/16, 4:14 AM|