Community: Framework mailing list archives

expert-framework@mail.odoo.com

Re: Cache / sync issue with workers and geven

by
Stefan Rijnhart
- 10/20/2016 02:37:55
On 20-10-16 07:06, Maxim Litnitskiy wrote:
> Actually I can see changes in WEB UI in both worker and gevent.
> But!
> When I connect a script using odoorpc to worker I get new values.
> When I connect a script using odoorpc to gevent I get old values
> despite that gevent UI shows me new values.
> May be there is something special with value =
> odoo.env['ir.config_parameter'].get_param(param) ?

get_param is not even cached in 8.0. Which version are you using? How do
you deploy?

Regards,
Stefan.

-- 
Opener B.V. - Business solutions driven by open source collaboration

Stefan Rijnhart - Consultant/developer

mail: stefan@opener.am
tel: +31 (0) 20 3090 139
web: https://opener.am