Skip to Content
Menu
This question has been flagged
1 Odpoveď
6459 Zobrazenia

I created several reports for the project task module which will generate a range of different PDF's, incl. a week planning, a work description (for employees), etc

Now the customer wants an option to print a blank version of the week planning, in Excel; rather than in PDF-format. I have made a blank copy of my report in Excel and took out the fields populated by OpenERP.

I'm looking for a solution for: Showing a button in the project_task module - without selecting a document. In other words, I want to show the print button without having selected a checkbox. This button should simply download/open an Excel file, which is the same all the time. There needs to be no data inserted from OpenERP.

How could I set up such functionality? Without jasper or aeroo reports, that is.

Avatar
Zrušiť
Best Answer

Add it as attachment. USe the document module to enabled attachments and use them

Avatar
Zrušiť
Autor

Thank you for your answer, Francesco, but this is not what I am looking for. This would require me to add the document as an attachment to both all existing tasks, as well as every new task.

Ideally I would like to create a button that simply downloads the specified .xls file, and isn't related to a specific document.

That is unless I can automaticaly add my attachment to the project.task throught an inherit of the "Create task on SO" module or some other way? But not in a custom binary field, because this would mean I have open the form to get to my report.

Second me the only solution is aerro reports. Create an empty report, without placeholder and use it as a normal report. Insert a button in the form that call this report (as print button in sale order and account invoice)

Related Posts Replies Zobrazenia Aktivita
1
aug 24
2663
3
okt 23
13828
6
sep 22
28522
7
jún 20
20713
1
apr 19
3417