Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024651Openbravo ERP09. Financial managementpublic2013-09-02 11:242014-03-17 13:41
maite 
eduardo_Argal 
immediatemajoralways
closedfixed 
5
 
3.0MP28 
maite
Core
No
0024651: Wrong Balance Sheet is obtained when previous year is not closed
Wrong Balance Sheet is obtained when previous year is not closed
1. Access "End Year Closed" window and close Year 2012 for España.
2. Access "Balance Sheet and PL Structure" window and run "Balance" report for España organization and year 2013.
3. Access again to "End Year Closed" window and open Year 2012 for España.
4. Access "Balance Sheet and PL Structure" window and run "Balance" report for España organization and year 2013. Realize that balance for account 43000 is not the same when it should. (difference in balance obtained is "opening entry" valud for that specific account)

Seems that problem was introduced by this other bug 23499, because if you follow same steps with changes of bug 23499 not applied balance for 43000 is the same)
No tags attached.
related to defect 00234993.0MP23 closed ioritzCia Wrong Balance Sheet when year is closed 
related to defect 0025868 closed eduardo_Argal Wrong Balance Sheet information randomly 
diff issue24651.diff (1,402) 2013-09-02 19:11
https://issues.openbravo.com/file_download.php?file_id=6379&type=bug
diff fixIssueBalanceSheet.diff (1,903) 2013-11-15 13:40
https://issues.openbravo.com/file_download.php?file_id=6505&type=bug
Issue History
2013-09-02 11:24maiteNew Issue
2013-09-02 11:24maiteAssigned To => dmiguelez
2013-09-02 11:24maiteModules => Core
2013-09-02 11:24maiteTriggers an Emergency Pack => No
2013-09-02 11:24maiteIssue Monitored: networkb
2013-09-02 11:25maiteRelationship addedrelated to 0023499
2013-09-02 13:38jonalegriaesarteTarget Version => 3.0MP28
2013-09-02 16:23jonalegriaesarteAssigned Todmiguelez => caristu
2013-09-02 19:11caristuFile Added: issue24651.diff
2013-09-02 19:11caristuNote Added: 0060876
2013-09-03 02:55eintelauIssue Monitored: eintelau
2013-09-04 11:44hgbotCheckin
2013-09-04 11:44hgbotNote Added: 0060909
2013-09-04 11:44hgbotStatusnew => resolved
2013-09-04 11:44hgbotResolutionopen => fixed
2013-09-04 11:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/df680df148072ca945b4c51ca69a37d259551a55 [^]
2013-09-04 11:51dmiguelezReview Assigned To => dmiguelez
2013-09-04 11:51dmiguelezNote Added: 0060910
2013-09-04 11:51dmiguelezStatusresolved => closed
2013-09-17 19:02hudsonbotCheckin
2013-09-17 19:02hudsonbotNote Added: 0061213
2013-11-15 13:13malsasuaAssigned Tocaristu => eduardo_Argal
2013-11-15 13:13malsasuaNote Added: 0062147
2013-11-15 13:13malsasuaStatusclosed => new
2013-11-15 13:13malsasuaResolutionfixed => open
2013-11-15 13:20malsasuaFile Added: fixIssueGeneralLedger.diff
2013-11-15 13:40malsasuaFile Deleted: fixIssueGeneralLedger.diff
2013-11-15 13:40malsasuaFile Added: fixIssueBalanceSheet.diff
2014-03-03 06:33pramakrishnanRelationship addedrelated to 0025868
2014-03-03 06:33pramakrishnanReview Assigned Todmiguelez => maite
2014-03-03 06:33pramakrishnanStatusnew => scheduled
2014-03-03 06:34hgbotCheckin
2014-03-03 06:34hgbotNote Added: 0064704
2014-03-03 06:34hgbotStatusscheduled => resolved
2014-03-03 06:34hgbotResolutionopen => fixed
2014-03-03 06:34hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/df680df148072ca945b4c51ca69a37d259551a55 [^] => http://code.openbravo.com/erp/devel/pi/rev/d83edb2bcfe72f8fd9603e1f06630f95572a1590 [^]
2014-03-03 17:38hudsonbotCheckin
2014-03-03 17:38hudsonbotNote Added: 0064758
2014-03-17 13:41maiteNote Added: 0065230
2014-03-17 13:41maiteStatusresolved => closed

Notes
(0060876)
caristu   
2013-09-02 19:11   
Patch attached. It will be pushed as soon as we verify the related issue is working fine as well.
(0060909)
hgbot   
2013-09-04 11:44   
Repository: erp/devel/pi
Changeset: df680df148072ca945b4c51ca69a37d259551a55
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Sep 04 11:43:03 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/df680df148072ca945b4c51ca69a37d259551a55 [^]

fixes issue 24651: Wrong Balance Sheet is obtained
when previous year is not closed

---
M src/org/openbravo/erpCommon/ad_reports/GeneralAccountingReports.java
---
(0060910)
dmiguelez   
2013-09-04 11:51   
Code Review + Testing Ok
(0061213)
hudsonbot   
2013-09-17 19:02   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/1c53d622fc50 [^]

Maturity status: Test
(0062147)
malsasua   
2013-11-15 13:13   
found an issue in the fix of this issue: when the report checks the years closed, the array is not ordered, and the data displayed in report are wrong.
Attached a diff with a solution
(0064704)
hgbot   
2014-03-03 06:34   
Repository: erp/devel/pi
Changeset: d83edb2bcfe72f8fd9603e1f06630f95572a1590
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Mon Mar 03 10:59:20 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/d83edb2bcfe72f8fd9603e1f06630f95572a1590 [^]

Fixes Issue 24651, Fixes Issue 25868: Wrong Balance Sheet information randomly

---
M src/org/openbravo/erpCommon/ad_reports/GeneralAccountingReports.java
---
(0064758)
hudsonbot   
2014-03-03 17:38   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/8d1e52794b1e [^]
Maturity status: Test
(0065230)
maite   
2014-03-17 13:41   
verified