Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
9187 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Tekijä

I will try the module and then comment! Thanks!

how to write a qweb report to print tree view

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
huhtik. 22
12291
0
maalisk. 15
4196
3
heinäk. 25
8766
1
toukok. 25
1067
0
tammik. 24
1764