OCA / interface-github

Tools to interact with github from Odoo
GNU Affero General Public License v3.0
46 stars 77 forks source link

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

Open rivo2302 opened 1 month ago

pedrobaeza commented 1 month ago

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 commented 3 weeks ago

@pedrobaeza

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

pedrobaeza commented 3 weeks ago

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.