Skip to content
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

[14.0] [FIX] pos_sale_order: Fix deadlock on session close with a payment method without journal #69

Open
wants to merge 1 commit into
base: 14.0
Choose a base branch
from

Conversation

paradoxxxzero
Copy link
Contributor

We should at least allow setting a journal, otherwise the session can't be close since there is no journal and journal can't be set since there's an open session.

Copy link

codecov bot commented Jan 25, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (964a2a1) 88.73% compared to head (798c4d7) 88.58%.

Files Patch % Lines
pos_sale_order/models/pos_payment_method.py 50.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             14.0      #69      +/-   ##
==========================================
- Coverage   88.73%   88.58%   -0.16%     
==========================================
  Files          51       51              
  Lines        1012     1016       +4     
  Branches      158      159       +1     
==========================================
+ Hits          898      900       +2     
- Misses         98       99       +1     
- Partials       16       17       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

2 participants