This question has been flagged
1 Reply
7681 Views

Hello, I have Odoo 8 and I want to create a print for a tree view. For example, I want to select one or more items of a tree view and then press "Print -> MyPrintCreated". Where can I find an example of this? What things have I to do?

Thanks! 

Avatar
Discard
Best Answer

In case you really need to print the tree view, you have to write a qweb report that prints the tree view contents. But you can save the effort by installing the web_export_view module that allows you export the selected records in your view to a Excel spreadsheet. You can download the module from the OCA repository:

https://github.com/OCA/web/tree/8.0/web_export_view 

Hope this helps,

Avatar
Discard
Author

I will try the module and then comment! Thanks!

how to write a qweb report to print tree view