python - How to write <t t-if=" " > condition for an html <span> to check report page no -


i have created custom invoice report in odoo10. when table contents (invoice items/products) increases, table goes second page disturbed formatting.

i want make second page show header, table headings rest items on second page in default invoice reports in odoo.

how can achieve this! have created whole invoice report in 1 table ie multiple rowspans , colspans.

the second option is, can write condition check if report includes second page, total amount , rest part should displayed on second page. how can check, if invoice including second page?

something :

<t t-if="span='class='page''>1"> 

below default page div of odoo10 .

<div class="col-xs-2 col-xs-offset-3 text-right">    <ul class="list-inline">       <li><span class="page"/></li>       <li>/</li>       <li><span class="topage"/></li>    </ul> </div> 

below custom report screenshot: custom invoice report

below default odoo invoice report layout screenshot:

default odoo invoice report

please advise how can achieve this. alternate advise welcome.

ps: tried page breaks html page still doesn't have effect on pdf print.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -