On Friday, May 23, 2014 10:06:50 AM UTC-5, Cédric Krier wrote:
>
> On 23 May 06:47, Paul Leverett wrote:
> > I'm trying to get the email button working, but have some strange
> behaviour.
> >
> > I am using Mac OSX client; in Tryton client Options>Email I currently
> have
> > Command Line blank
> >
> > Example:
> > in Reports>Purchase>Email: I have field contents << {'to':
> > '[email protected] <javascript:>', 'cc': '[email protected]
> <javascript:>', 'subject': 'Purchase
> > Test'} >>
> > This was set up some days ago when I was last testing. This works as
> > expected. When I click E-mail report>Purchase on the Purchases form, I
> gat
> > a new email opened in my local Mail program, with teh to, cc and subject
> > populated.
> >
> > BUT...
> > If I then edit the Reports>Purchase>Email: field contents - for example
> > change the subject text, then repeat test....NO CHANGE - it's kept the
> same
> > values!
> > Close Reports tab, try again. Same.
> > Close Purchases tab, try again. Same.
> > Close Tryton client & log in again. Same.
> >
> > It seems like it's caching the previous values? Do I need to restart
> Tryton
> > to apply the new values? Or can I clear cache or something? It seems
> very
> > strange, but might explain why I've had so many problems trying to
> > configure email. It seems to act upon the values that were active at the
> > last Tryton restart, not the current values??
> Indeed it is a bug, the cache of ModelView.fields_view_get is not
> cleared when report is changed. So you can fill an issue on the
> bugtracker.
>
I have the same problem.
Seems as the bug is not reported yet. I'm going to create a new issue based
in
the details are explained in this topic.
>
> --
> Cédric Krier - B2CK SPRL
> Email/Jabber: [email protected] <javascript:>
> Tel: +32 472 54 46 59
> Website: http://www.b2ck.com/
>