-
Notifications
You must be signed in to change notification settings - Fork 8
[16.0][FIX] contract_payment_auto_job_post_process: Added test_target_state… #538
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
[16.0][FIX] contract_payment_auto_job_post_process: Added test_target_state… #538
Conversation
… to list of allowed context keys In the following PR, the v16.0 queue_job module was patched to filter context keys, to only allow a select amount of context keys. -> OCA/queue#794 Due to this module's purpose, using both contract_payment_auto (passing test_target_state in tx tests) and contract_queue_job (performing invoice creation in jobs), we might need to create a new module in OCA/contract in order to offer the possibility to other users to pass the test_target_state context value in tests, while using a job to perform invoice creation. However, in the meantime, we added this fix in this module.
|
Hi @fcayre, |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 16.0 #538 +/- ##
=======================================
Coverage 98.17% 98.17%
=======================================
Files 584 585 +1
Lines 15701 15708 +7
Branches 1007 1007
=======================================
+ Hits 15415 15422 +7
Misses 157 157
Partials 129 129 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
/ocabot rebase |
|
Congratulations, PR rebased to 16.0. |
|
/ocabot merge patch |
|
On my way to merge this fine PR! |
|
For more info: OCA/contract#1376 |
|
Congratulations, your PR was merged at c980f05. Thanks a lot for contributing to commown. ❤️ |
… to list of allowed context keys
In the following PR, the v16.0 queue_job module was patched to filter context keys, to only allow a select amount of context keys. -> OCA/queue#794
Due to this module's purpose, using both contract_payment_auto (passing test_target_state in tx tests) and contract_queue_job (performing invoice creation in jobs), we might need to create a new module in OCA/contract in order to offer the possibility to other users to pass the test_target_state context value in tests, while using a job to perform invoice creation.
However, in the meantime, we added this fix in this module.