-
Notifications
You must be signed in to change notification settings - Fork 715
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
Profit and Loss report showing incorrect data #819
Comments
Hi @Jace996! You listed the version you are using as 0.20.0. Could you doublecheck that please? If you are running v0.20.0, try updating to v0.20.1 |
Hi @Isaac-GC The problem is still remain the same. However, the ledger report now will not show PINV1287 amount if From Date filter is set to 01/01/2023. Instead, set to 31/12/2022 will show that amount. Please refer image below. In addition, I found out the date recorded in AccountingLedgerEntry table are less one day for all the entry. Example my invoice and payment date is 01/01/2024 then date in AccountingLedgerEntry table will show 2023-12-31 Here is the testing database i created. |
Hey @Jace996! I've been trying to replicate the issue myself, but seem unable to. Not sure if its a setting on my test db or something else Can you provide a demo/example database with the issues please? Thanks! |
Hi @Isaac-GC, This is screen recording for your reference Test dataase |
v0.21.1 patch update was just released. Can you validate the information shows as expected now please? |
Hi @Isaac-GC Thanks for the release.
Trial balance
Before patch After patch Debug for your reference Logging result at below
Possible fix Logging result at below
Im not sure this solution available for all the timezone or not. I just tested my database. |
Thanks for testing this out! When doing local testing, the dates seemed correct when testing in the various timezones, but it looks like the next database patch will be a little more complicated. A patch is being worked on and should be out soon, and I'll do some more testing to see if the patch (both on the db and in the LedgerReport) is not working as expected, There could be date issues with the DB, but it is also likely the numbers in the various reports (ledger, profit/loss, etc) seems to related to the other issue #815 |
Fixed the patch in #843 --> https://github.com/frappe/books/blob/556d91dc6cb230cf172c0ca8d3e9b6d964b3c9e7/backend/patches/v0_21_0/fixLedgerDateTime.ts Still working on the reports issue, but the db issue should be permanently fixed now irregardlessly |
@Isaac-GC Hi, I have found another bug in Profit and Loss report I created a Journal with date 01/04/2023. It displayed on balance sheet but not in profit and loss. Profit and Loss Possible solution |
Following this, since I've been having this issue for quite some time now(#176), and it's never been fixed for me. not even with this patch But I'd like to add a behaviour that I'm seeing, and before opening a new issue, I'd like to confirm. When accessing the Profit and Loss report, I get a You guys seem to be having data from that report. Am I missing something or was this a bug introduced between patches? |
Expected Behavior
No response
Current Behavior
Steps to Reproduce
No response
FrappeBooks Version
0.20.0
Path or Feature name
Profit and loss
Country
MYR
Language
EN
OS
Macos (Intel)
Additional OS Info
No response
The text was updated successfully, but these errors were encountered: