Skip to content

Conversation

@Honeyxilia
Copy link
Collaborator

… 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.

… 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.
@github-grap-bot
Copy link
Collaborator

Hi @fcayre,
some modules you are maintaining are being modified, check this out!

@Honeyxilia Honeyxilia changed the title [16.0ÿ[FIX] contract_payment_auto_job_post_process: Added test_target_state… [16.0][FIX] contract_payment_auto_job_post_process: Added test_target_state… Jan 8, 2026
@codecov
Copy link

codecov bot commented Jan 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.17%. Comparing base (af0cd8e) to head (aa7da5f).
⚠️ Report is 3 commits behind head on 16.0.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Honeyxilia
Copy link
Collaborator Author

/ocabot rebase

@github-grap-bot
Copy link
Collaborator

Congratulations, PR rebased to 16.0.

@Honeyxilia
Copy link
Collaborator Author

/ocabot merge patch

@github-grap-bot
Copy link
Collaborator

On my way to merge this fine PR!
Prepared branch 16.0-ocabot-merge-pr-538-by-Honeyxilia-bump-patch, awaiting test results.

@Honeyxilia
Copy link
Collaborator Author

For more info: OCA/contract#1376

@github-grap-bot github-grap-bot merged commit 3f1a685 into 16.0 Jan 8, 2026
4 checks passed
@github-grap-bot
Copy link
Collaborator

Congratulations, your PR was merged at c980f05. Thanks a lot for contributing to commown. ❤️

@github-grap-bot github-grap-bot deleted the 16.0-fix-contract_payment_auto_job_post_process-test_target_state_in_job_context branch January 8, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants