On 19 May 15:32, Fabyc wrote:
> On Monday, May 19, 2014 5:04:24 PM UTC-5, Cédric Krier wrote:
> I've defined like this [1] and in the email client appears those values.
> 
> How can I set it for getting the email of the customer (party) for
> that sale? For example: if I sell "Product 1" to "Customer 1". The field 
> "to" in the field of the email client should be "[email protected]"
> 
> Like I have set it [1], into the field "to" in the email client appears 
> that 
> value "[email protected]"
> 
> [1] {'to': '[email protected]', 'cc': '[email protected]', 'subject': 
> 'The sale'}

You have to use a PYSON statement:
http://doc.tryton.org/3.2/trytond/doc/topics/pyson.html#topics-pyson


> > > 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 wanted to set this: 
> {'to': '[email protected]', 'cc': '[email protected]', 'subject': 'This 
> is 
> the sale.', 'body': 'Here are the sale. Please check it out.'}
> 
> It is accepted without the 'body' variable.

body is not accepted in the ir.action.report because there it is not
translatable so it must be managed by overriding the Report.

> > > The name of the attached file doesn't have the number of sequence. For 
> > > example: sale-00005 
> >
> > Already reported previously. 
> >
> 
> Is there some patch for it? 

Not that I'm award of.

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

Attachment: pgpavHpYfbebR.pgp
Description: PGP signature

Reply via email to