On 19 May 13:42, Fabyc wrote:
> 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.
Of course, you defined only a subject.
> 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" "
Without the value you enter, it is not possible to help.
> > >
> > > 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 report is attached in the format of the report.
> The name of the attached file doesn't have the number of sequence. For
> example: sale-00005
Already reported previously.
> 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 because Invoice report uses a wizard because of caching.
It was discussed at the last TUB to fix this by creating a zip file
instead of direct print via wizard.
--
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
pgpJLyLEbJGXj.pgp
Description: PGP signature
