Skip to Content
Menu
This question has been flagged
4680 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
Related Posts Replies Views Activity
4
Apr 24
170731
0
Dec 23
609
5
Nov 24
217141
1
Dec 22
1693
2
Nov 22
1679