Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3882 Lượt xem

Hello,

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?


Thanks

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello

not with wkhtml immediately...

but you çan do it in Javascript !

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

Ảnh đại diện
Huỷ bỏ