Odoo Help


Add table of contents on QWeb report using wkhtmltopdf

Evans Bernier
on 2/16/16, 3:09 PM 531 views


I would like to autogenerate table of contents on my QWeb report. I know that is possible to autogenerate a table of contents by using wkhtmltopdf. The table of contents is autogenerated using all <hX> tag (h1, h2, h3...).

There is a method to do the same thing from my Odoo QWeb report?




not with wkhtml immediately...

but you çan do it in Javascript !

take à look to website_quote ... That générate the left menu automacally

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 2/16/16, 3:09 PM
Seen: 531 times
Last updated: 2/17/16, 2:18 AM