-
-
Notifications
You must be signed in to change notification settings - Fork 460
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
[15.0][FIX] Allow use in multidb enviroments and list_db = false #580
Conversation
Hi @guewen, |
@guewen If this solution is not appropriate, I will look for another one |
Hi @pcastelovigo, thanks. I think I need more details to understand why a setup would need this option. |
My setup is unmodified OCA OCB Odoo 15, with these options in config file: Everything works OK, including cron jobs. Trying to use queue_job in combination with others OCA modules gives me AccessDeniedError exactly as #379 fixes. I found #416 solution that provides two methods to provide manually a list of databases using queue_job module, at the same time that it does not interfere in any way with the operation that the module was having until now. I managed to write unit test for it and PRed it so that I can continue synchronizing to the OCA repository and understanding that the modification is harmless, compatible with #379 and could help other people like comments in #416 If for some reason is not appropiate, I'll close PR and stick to patchfile |
But then #379 was not never ported to this version, wouldn't be the better correction to apply the same fix? |
I'm trying to understand the root cause of the problem, which seems the |
…e with list_db=false
Many thanks for your work and understanding @pcastelovigo |
/ocabot merge patch |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 7ddbab8. Thanks a lot for contributing to OCA. ❤️ |
Update runner.py to work with multiDB & list_db = False
Applied exactly the same solution as #416 in V14, for some reason it became stalled
I have it in production via patchfile and everything works as expected.
Its related to #58 and #379
Previous PRs closed to keep the commit list usable