Am Mittwoch, 14. Juni 2017 15:10:07 UTC+2 schrieb Cédric Krier:
>
> On 2017-06-14 05:07, rawdesignhamburg wrote: 
> > Hello 
> > 
> > I have to clean the report cache after upgrade to 3.6. But I cannot 
> change 
> > Invoice report because of this error: Invalid email definition on report 
> > "Invoice". 
> > 
> > If I delete the email from field "Email" I can do it. But then I cannot 
> > insert Email again. Field content is = {'to' : '[email protected] 
> <javascript:>'} 
>
> It must be a PYSON expression. So you must use double quote: 
>
>     {"to" : "[email protected] <javascript:>"} 
>
> The release 4.4 has a pyson widget which avoid such minor mistakes. 
> -- 
> Cédric Krier - B2CK SPRL 
> Email/Jabber: [email protected] <javascript:> 
> Tel: +32 472 54 46 59 
> Website: http://www.b2ck.com/



If I do so, I can save the report. But if I try to send and invoice I get 
another error message:
     mailto(to=email.get('to'), cc=email.get('cc'),
AttributeError: 'unicode' object has no attribute 'get'


-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/cf195afe-d9ab-4aa7-8335-0306dd5110cb%40googlegroups.com.

Reply via email to