Odoo Help


Save report to tmp file ?

Dércio Duvane
on 3/28/13, 7:48 AM 1,802 views

Hello, I am in need of some assistance.

I have several reports designed and running on the jasper_reports module. Recently I saw the need to integrate with a mail management module, so we picked smtpclient

The problem is that we need to send some reports by email to our customers

According to smtpclient module there's a possibility to give a parameter which is a list of tuples containing the name and a list of ids to generate and attach reports, yet that is not working. Any Ideas?

Thanks for your answer Francesco, yet that's not what I really want; Well, let's see I need when changing the state of a "document", the system automatically generates a jasper report and saving it to a let's say "temp" folder.

Dércio Duvane
on 3/28/13, 1:09 PM

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 3/28/13, 8:04 AM

If you use OpenERP standard send mail system, you can define a report to send as attachment in a mail.

Go to template menu

image description

define your one and so you can create a button...

image description

...to send mail directly by openerp form (or tree) interface.

image description

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

0 follower(s)


Asked: 3/28/13, 7:48 AM
Seen: 1802 times
Last updated: 3/16/15, 8:10 AM