This question has been flagged

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!   

Avatar
Discard