This question has been flagged
4055 Views

Python:

I have some late fee and statement charge scripts that I am running that end up pushing past the 15 minute time limitation for processes Odoo has. I tried to put in the normal multithreading/multiprocessing things python has, but run into problems with the functions not being "pickleable"/ not being able to be serialized. Multiprocessing will spit back an error, and multithreading will just kill the thread once it runs into something that can't be pickled/serialized.

Is there an "odoo - way" of multiprocessing/speeding things up or am I just out of luck and will have to split up the scripts?

Avatar
Discard