Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] github_connector : singleton errors in cron jobs #126

Open
wants to merge 5 commits into
base: 14.0
Choose a base branch
from

Conversation

rivo2302
Copy link

No description provided.

@pedrobaeza pedrobaeza added this to the 14.0 milestone Sep 19, 2024
@pedrobaeza
Copy link
Member

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.

@rivo2302
Copy link
Author

@pedrobaeza

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

@pedrobaeza
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants