Odoo Help

0

Save report to tmp file ?

By
Dércio Duvane
on 3/28/13, 7:48 AM 1,549 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
0
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.

Register

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)

Stats

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