-
-
Notifications
You must be signed in to change notification settings - Fork 282
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
This allows you to raise a warning if dependencies are not unmet #39
base: 8.0
Are you sure you want to change the base?
Conversation
I'd prefer the error to be logged instead of silently pass'ed, though. |
hmmm still have no luck installing this module on 9.0 nightly though, while other modules worked. |
@grexe, with this you will have a more friendly warning about the lack of dependencies. @Yenthe666 actually I wasn't following the issues here, just a customer of mine installed the module and got fightened when everything was broken for him. |
This is a very good forgotten PR that is still relevant even in later versions of Odoo. |
@gaikaz thanks for the feedback. I don't feel like doing |
@Yenthe666 , sorry, I wasn't very clear. I fully agree and this is exactly what I suggest changing to make this PR perfect. :)
with
instead of |
Yeah that is absolutely better but what if you're not looking at logs though? You wouldn't notice that you're missing a dependency. As the scheduler itself also runs in the background you might end up with a scheduler that keeps failing and you thinking that the backup module does not work though? While you're just missing a dependency. I'm not sure if this warns the user enough. On the other hand, if you only backup locally (why though?) you would not need the extra dependency. In this case this example would then be better again. |
Aha I see! I'll test it soon, thanks. 👍 |
Could see that raise fully stops the system and to error 500