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

fix: fetch exc rate of multi currency journals on reconciliation #38717

Merged

Conversation

ruthra-kumar
Copy link
Member

@ruthra-kumar ruthra-kumar commented Dec 13, 2023

In payment reconciliation tool, multi-currency journals incorrectly post Exc gain/loss journal, even if the journal and payment has the same exc rate.

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Dec 13, 2023
Copy link

codecov bot commented Dec 13, 2023

Codecov Report

Merging #38717 (1b3ba25) into develop (9424bbc) will decrease coverage by 0.09%.
Report is 43 commits behind head on develop.
The diff coverage is 54.54%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #38717      +/-   ##
===========================================
- Coverage    60.16%   60.07%   -0.09%     
===========================================
  Files          759      759              
  Lines        69475    69549      +74     
===========================================
- Hits         41800    41784      -16     
- Misses       27675    27765      +90     
Files Coverage Δ
...e/payment_reconciliation/payment_reconciliation.py 86.14% <100.00%> (+0.25%) ⬆️
erpnext/accounts/doctype/pricing_rule/utils.py 74.82% <0.00%> (-0.91%) ⬇️

... and 21 files with indirect coverage changes

@ruthra-kumar ruthra-kumar force-pushed the 7101_payment_reconciiation_bug branch from 9919707 to 1b3ba25 Compare December 13, 2023 11:10
@ruthra-kumar ruthra-kumar changed the title refactor: fetch exc rate of multi currency journals on reconciliation fix: fetch exc rate of multi currency journals on reconciliation Dec 13, 2023
@ruthra-kumar ruthra-kumar marked this pull request as ready for review December 14, 2023 04:05
@ruthra-kumar ruthra-kumar merged commit c68ad73 into frappe:develop Dec 14, 2023
15 checks passed
ruthra-kumar added a commit that referenced this pull request Dec 14, 2023
…-38717

fix: fetch exc rate of multi currency journals on reconciliation (backport #38717)
ruthra-kumar added a commit that referenced this pull request Dec 14, 2023
…-38717

fix: fetch exc rate of multi currency journals on reconciliation (backport #38717)
@ruthra-kumar
Copy link
Member Author

@mergify backport version-14

Copy link
Contributor

mergify bot commented Dec 14, 2023

backport version-14

✅ Backports have been created

ruthra-kumar added a commit that referenced this pull request Dec 14, 2023
fix: fetch exc rate of multi currency journals on reconciliation (backport #38717)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport version-14-hotfix backport to version 14 backport version-15-hotfix needs-tests This PR needs automated unit-tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant