Skip to content

fix: Presentation currency conversion in reports#27316

Merged
deepeshgarg007 merged 1 commit intofrappe:developfrom
deepeshgarg007:presentation_currency_fix
Sep 5, 2021
Merged

fix: Presentation currency conversion in reports#27316
deepeshgarg007 merged 1 commit intofrappe:developfrom
deepeshgarg007:presentation_currency_fix

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.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants