On Monday, May 19, 2014 1:39:50 PM UTC-5, Cédric Krier wrote:
>
> On 19 May 10:47, Fabyc wrote: 
> > On Monday, May 19, 2014 12:20:38 PM UTC-5, Fabyc wrote: 
> > > 
> > > Hi everybody. 
> > > 
> > > I want to send by email a report. In this case I want to send an 
> > > invoice. When I click on button "E-Mail report", the email client 
> > > is opened (in my case Thunderbird) but the report is not attached 
> > > and it doesn't fill in the email address of the customer neither. 
>
> Those information must be configured for each reports. 
>

I have set it in all reports.


> > > I would like to send any report (invoice, sales, purchase, etc.) but 
> > > it doesn't work. 
> > > 
> > > I imagine the attached file of the report should be in PDF format. 
> > > 
> > > I've set {'subject': 'Invoice'} in "Administration>User 
> > > Interface>Actions>Reports" 
>

For example, in invoice report I have set the field 'Email' with 
this: {'subject': 'Sale'}

The email address of the customer doesn't appear when the email client 
is opened.

I'm trying to set variable 'body' in that filed and it doesn't permit me. I 
get this 
warning: " Invalid email definition on report "Sale" "

What other variable I'm missing?
 

> > > 
> > 
> > I've set in "Options>Email>Command line:" too. 
>
> With what? This command must contains the right parameters for the email 
> client to get the functionnality working. 
>

thunderbird -compose 
"to='${to}',cc='${cc}',subject='${subject}',body='${body}''"

Seems as I was missing the "attachment" variable: attachment='${attachment}'

Now I set it and the email client is attaching the report. I see the 
attached file is 
in ODT format not in PDF. Is that right?

The name of the attached file doesn't have the number of sequence. For 
example: sale-00005


Another thing I can see is about the functionality of the button "E-Mail 
report"
on Invoices. When I click on that button, it opens Libre Office and it 
doesn't 
open the email client (Do I have to report this one in a new thread?). It 
is the 
same problem in Tryton 3.0.3, 3.2, 3.2.1

Thanks
 

>
> -- 
> Cédric Krier - B2CK SPRL 
> Email/Jabber: [email protected] <javascript:> 
> Tel: +32 472 54 46 59 
> Website: http://www.b2ck.com/ 
>

Reply via email to