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

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! 

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

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,

Ảnh đại diện
Huỷ bỏ
Tác giả

I will try the module and then comment! Thanks!

how to write a qweb report to print tree view

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 4 22
12358
0
thg 3 15
4209
3
thg 7 25
8845
1
thg 5 25
1105
0
thg 1 24
1801