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/
Thank you very much, I did not know that there is a difference between
single double and double quote. The help text example showing single quotes
and also in this examples:
http://doc.tryton.org/3.6/trytond/doc/topics/pyson.html
So one last interesting thing is, where can I get such info?
Its also not in
http://www.tryton.org/posts/new-tryton-release-36.html
https://discuss.tryton.org/t/migration-from-3-4-to-3-6/17
regards
--
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/b72ac5ba-4d6d-404c-acde-b4170748aaf9%40googlegroups.com.