[13.0][IMP] queue_job, add decorator job_auto_delay#255
[13.0][IMP] queue_job, add decorator job_auto_delay#255
Conversation
|
Hi @guewen, |
|
Thanks, I would appreciate if you keep my authorship though :) If you have changes to do in the commit, you can add in the commit's body: |
Sure! Let me study for it. :) |
Co-authored-by: Guewen Baconnier <guewen.baconnier@camptocamp.com>
e6167e6 to
8ec6ae7
Compare
Done |
| ) | ||
|
|
||
| def auto_delay(self, *args, **kwargs): | ||
| if self.env.context.get("job_uuid") or self.env.context.get("_job_force_sync"): |
There was a problem hiding this comment.
maybe better to use the same key as here? https://github.com/OCA/queue/blob/13.0/queue_job/models/base.py#L89
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
Just add a pending TODO from sale_automatic_workflow_job
closes: #238