Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4331 Представления

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
2141
2
мая 20
2736
5
авг. 19
46748
4
июн. 18
20335
0
июн. 18
3478