Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

So I've created a custom report using AbstractModel and QWeb.
I know how to add that report to the Print menu so then you can select record click print -> report and generate it.

I want to do something else. I want to add a menu in the application called "Report" and when you click it to generate the report on all records in the model.

I have a problem with the action that is called from the menu item. How can this action call the report. If I set the action model to the Abstract model I just receive a  SQL error that the model is not found in the DB?.


Cheers!   

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 24
2167
2
thg 5 20
2755
5
thg 8 19
46766
4
thg 6 18
20360
0
thg 6 18
3497