interface-github icon indicating copy to clipboard operation
interface-github copied to clipboard

[FIX] github_connector : singleton errors in cron jobs

Open rivo2302 opened this issue 1 year ago • 3 comments

rivo2302 avatar Sep 19 '24 13:09 rivo2302

Where in the current code this is called with several recordsets? If you are adding code on top, then you should for the for loop in your code.

pedrobaeza avatar Sep 19 '24 21:09 pedrobaeza

@pedrobaeza

No, this is not in my custom code, but in the native code, specifically in ir.cron here, which calls multiple recordsets.

rivo2302 avatar Sep 24 '24 08:09 rivo2302

Then please change that code and put the for loop in it. You can add on these methods self.ensure-one() if you want for being more declarative on the individual application.

pedrobaeza avatar Sep 24 '24 09:09 pedrobaeza

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. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar Jun 08 '25 12:06 github-actions[bot]