Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4339 มุมมอง

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!   

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ย. 24
2165
Open QWeb View from Python แก้ไขแล้ว
2
พ.ค. 20
2754
How do i create report in Qweb? แก้ไขแล้ว
5
ส.ค. 19
46765
4
มิ.ย. 18
20358
0
มิ.ย. 18
3492