Contributors mailing list archives
How can I write all the cache?by Yajo <email@example.com> - 21/10/2015 07:22:36
But when one exits the with block, that data is not written to DB. I'm looking for some kind of self.env.cache.write_to_db(). Do you know of any?
self.onefield = "blahblah"
I'm doing a test where I need to imitate the onchange behavior, so:with self.env.do_in_onchange():
Camptocamp SA, Guewen Baconnier