Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

SOLVED: Odoo 10 custom Qweb report page design

Serdar Eren:

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-if="o.extrapage"



but i dont want to make like this, must be some professional way. Can you help me to do? Thank you.



Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
This Question have been answered
HERE


This post first appeared on Stack Solved, please read the originial post: here

Share the post

SOLVED: Odoo 10 custom Qweb report page design

×

Subscribe to Stack Solved

Get updates delivered right to your inbox!

Thank you for your subscription

×