Odoo Help


How can you add a button to download a blank document (no fields from OpenERP)

on 6/27/13, 8:23 AM 2,982 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.


Francesco OpenCode

--Francesco OpenCode--

| 6 8 9
Grottaglie, Italy
--Francesco OpenCode--

Italian Odoo (OpenERP) Modules Developer LINKEDIN: http://www.linkedin.com/in/francescoapruzzese

Francesco OpenCode
On 6/27/13, 1:07 PM

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

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.

on 6/27/13, 1:26 PM

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)

Francesco OpenCode
on 6/27/13, 3:15 PM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 6/27/13, 8:23 AM
Seen: 2982 times
Last updated: 3/16/15, 8:10 AM