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: Presentation currency conversion in reports #27316

Merged

Conversation

deepeshgarg007
Copy link
Member

image

As shown in the image above there could be cases where a single GL might have both Debit and Credit values

Currently, the function used to convert values to presentation currency assumed that one GL Entry will either have debit or credit value while led to wrong values in the reports when a presentation currency was selected

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 51.552% when pulling 330ca49 on deepeshgarg007:presentation_currency_fix into eec4051 on frappe:develop.

@deepeshgarg007 deepeshgarg007 merged commit ceaa804 into frappe:develop Sep 5, 2021
frappe-pr-bot pushed a commit to frappe-pr-bot/erpnext that referenced this pull request Sep 5, 2021
(cherry picked from commit ceaa804)

# Conflicts:
#	erpnext/accounts/report/utils.py
frappe-pr-bot pushed a commit to frappe-pr-bot/erpnext that referenced this pull request Sep 5, 2021
asoral pushed a commit to asoral/erpnext that referenced this pull request Nov 12, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants