Odoo Help


Add table of contents on QWeb report using wkhtmltopdf

Evans Bernier
on 2/16/16, 3:09 PM 571 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?



Jérémy Kersten (jke)

--Jérémy Kersten (jke)--

| 3 3 5
Jodoigne, Belgium
--Jérémy Kersten (jke)--

Jérémy is a member of the core R&D team since september 2013. He developed several projects for OpenERP version 8 including the eCommerce, the Google Calendar synchronization and the new product variants/configurator. Now, he manages Odoo website and themes for saas.

Jérémy Kersten (jke)
On 2/16/16, 5:31 PM


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: 571 times
Last updated: 2/17/16, 2:18 AM