frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
21.75k stars 7.3k forks source link

Opening Balance in Financial Statements is wrong after update to v14.30.1 #36112

Open penieldev opened 1 year ago

penieldev commented 1 year ago

Information about bug

The opening balances in Trial Balance and Balance Sheet are wrong after the latest update. Last version that I know it was fine is v14.27.12

Module

accounts

Version

Frappe Version - v14.40.3 ERPNext Version - v14.30.1

Installation method

FrappeCloud

Relevant log output / Stack trace / Full Error Message.

No response

Solufyin commented 1 year ago

Hi @penieldev,

I think please check on the new update of 14.30.3

Thank You!

penieldev commented 1 year ago

Hi @Solufyin,

It's working now in Trial Balance. But the Balance Sheet still has the same error.

LijoJosephP commented 1 year ago

@Solufyin @deepeshgarg007 This matter demands immediate attention as it is a critical issue affecting our clients who are expressing their discontent. The problem at hand is raising doubts about both our company's reputation and the credibility of the ERPNext software. We must prioritize resolving this situation without delay.

codezart commented 1 year ago

This was the last commit that changed the balance sheet's logic a little (https://github.com/frappe/erpnext/releases/tag/v14.30.0). commit: https://github.com/frappe/erpnext/commit/ebf3c0173e0b43705f0d9a3e2a30d66f61ca44aa

codezart commented 1 year ago

Is there any new update on this bug?

casesolved-co-uk commented 11 months ago

@Solufyin @deepeshgarg007 This matter demands immediate attention as it is a critical issue affecting our clients who are expressing their discontent. The problem at hand is raising doubts about both our company's reputation and the credibility of the ERPNext software. We must prioritize resolving this situation without delay.

My customer appears to be seeing this too and agree with the sentiment

casesolved-co-uk commented 11 months ago

@deepeshgarg007 Have you looked at this with regards to your commit https://github.com/frappe/erpnext/pull/34257 ?

casesolved-co-uk commented 11 months ago

@penieldev @Solufyin @codezart @LijoJosephP

It looks like this issue occurs if you have not posted Period Closing Vouchers for previous Fiscal Years, which causes the opening balances in the financial reports to be wrong, because the new Account Closing Balance Table doesn't have the correct entries.

We're not 100% sure, but to fix it, it looks like you have to: