Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
6450 Zobrazení

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šit
Nejlepší odpověď

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

Avatar
Zrušit
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 Odpovědi Zobrazení Aktivita
1
srp 24
2658
3
říj 23
13823
6
zář 22
28510
7
čvn 20
20705
1
dub 19
3416