-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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: handle finance book properly in trial balance and general ledger [develop] #35085
Merged
deepeshgarg007
merged 3 commits into
frappe:develop
from
anandbaburajan:trial_balance_fb
May 2, 2023
Merged
fix: handle finance book properly in trial balance and general ledger [develop] #35085
deepeshgarg007
merged 3 commits into
frappe:develop
from
anandbaburajan:trial_balance_fb
May 2, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
anandbaburajan
added
backport version-13-hotfix
backport version-14-hotfix
backport to version 14
labels
Apr 27, 2023
anandbaburajan
requested review from
deepeshgarg007 and
ruthra-kumar
as code owners
April 27, 2023 13:48
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #35085 +/- ##
========================================
Coverage 63.68% 63.69%
========================================
Files 813 813
Lines 60019 60045 +26
========================================
+ Hits 38226 38243 +17
- Misses 21793 21802 +9
|
@anandbaburajan Can you update the same behaviour in General Ledger, so that there are no mismatch issues anymore? |
@deepeshgarg007 yep, done. |
anandbaburajan
changed the title
fix: handle finance book properly in trial balance report
fix: handle finance book properly in trial balance and general ledger
May 1, 2023
deepeshgarg007
approved these changes
May 2, 2023
mergify bot
pushed a commit
that referenced
this pull request
May 2, 2023
…#35085) * fix: get default fb properly and handle different fb and default fb case * chore: minor UX improvement * fix: handle FBs properly in general ledger (cherry picked from commit 6864b11) # Conflicts: # erpnext/accounts/report/financial_statements.py # erpnext/accounts/report/trial_balance/trial_balance.py
mergify bot
pushed a commit
that referenced
this pull request
May 2, 2023
…#35085) * fix: get default fb properly and handle different fb and default fb case * chore: minor UX improvement * fix: handle FBs properly in general ledger (cherry picked from commit 6864b11) # Conflicts: # erpnext/accounts/report/financial_statements.py # erpnext/accounts/report/trial_balance/trial_balance.py
This was referenced May 2, 2023
Closed
anandbaburajan
removed
backport version-13-hotfix
backport version-14-hotfix
backport to version 14
labels
May 2, 2023
anandbaburajan
changed the title
fix: handle finance book properly in trial balance and general ledger
fix: handle finance book properly in trial balance and general ledger [develop]
May 2, 2023
This was referenced May 2, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Users not using any finance books
They don't need to change/do anything. Trial balance would reflect gl entries with fb == none by default.
Users using one finance book "fb" (accidental case)
Trial balance would reflect gl entries with fb == none by default. So they need to set default_finance_book as "fb" in their company settings. Then trial balance would reflect gl entries with fb == "fb" or fb == none by default. Otherwise they would need to set their finance book "fb" every time in the trial balance filters.
Users using multiple finance books "fb1" and "fb2"
If they have set a default_finance_book "fb1"
Trial balance would reflect gl entries with fb == "fb1" or fb == none by default
If they have not set a default_finance_book
Trial balance would reflect gl entries with fb == none by default