Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[8.0] Prevent to unpickle globals which are not jobs #170
This is a safeguard to prevent someone to write arbitrary code in jobs.
I will do a proper release with a new addon's version and updated changelog in
This change may bring backward incompatibilities issues, precisely errors if you pickle a type/function which is not allowed by the custom unpickler. If this happens to you, you'd want to add in your addon module:
from openerp.addons.connector.queue.job import whitelist_unpickle_global whitelist_unpickle_global(your_object_to_allow)