-
-
Notifications
You must be signed in to change notification settings - Fork 371
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
[17.0][REF] stock_analytic: Split test utilities into shareable base class #682
[17.0][REF] stock_analytic: Split test utilities into shareable base class #682
Conversation
@@ -12,7 +12,7 @@ | |||
from odoo.tests.common import TransactionCase | |||
|
|||
|
|||
class TestStockPicking(TransactionCase): | |||
class CommonStockPicking(TransactionCase): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please put it in a separate common.py
file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't. That makes the blame a hell. It's not technically needed anyway, and I doubt its usefulness as organizational element.
Please hold off on merging this for a few minutes, it seems this change did not actually fix the issue I was trying to fix. |
Please change commit message to include the module name. |
45f1153
to
6926243
Compare
Needed to also rename method starting with double-underscrore to avoid Python method name mangling.
6926243
to
8488449
Compare
Sorry for the wait @StefanRijnhart , this should be fixed now, and this PR is good to review and merge on my part. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
/ocabot merge minor |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 1c5f68c. Thanks a lot for contributing to OCA. ❤️ |
Needed to also rename method starting with double-underscrore to avoid Python method name mangling.
Intended to fix #644