I've created my custom report and which has more than 1 page. You can imagine that each page has a table. And table can have 10 row in a page, if rows are more than 10, rows go second page. By the way, other table slides to half of page. But I want to all tables should start the top of the page in any case. If there is 14 row in the first table, the second table must start the third page. I wrote a condition in python like;
extrapage = fields.Boolean(compute="function")
def function():
if row >=10:
extrapage = True
and view.xml
<t
t-if="o.extrapage"
<div style="height:29cm;width:20cm;"></div>
</t>
but i dont want to make like this, must be some professional way. Can you help me to do? Thank you.
page-break-after
orinside
orbefore
– khelili miliana