Skip to Content
Menu
This question has been flagged
1 Reply
6443 Views

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
Discard
Best Answer

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

Avatar
Discard
Author

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 Views Activity
1
Aug 24
2655
3
Oct 23
13814
6
Sep 22
28500
7
Jun 20
20686
1
Apr 19
3411