Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008321Openbravo ERP09. Financial managementpublic2009-03-26 19:152009-07-21 12:11
jpabloae 
dalsasua 
immediatemajoralways
closedfixed 
30Gentoo - 2.6.26
2.40MP1 
pi 
Core
No
0008321: General ledger window takes a long time to load with many accounts
The general ledger window takes around 5 minutes to be opened when there is a big amount of accounts (0000561:0008000). The problem is that the combo boxes include the 8000 elements in the HTML code, and the file is big (>1.4MB).
1. Financial management -> Analysis tools -> General Ledger.
2. View the source of the HTML file.
3. All the accounts are included statically in the HTML file.
4. If you create thousands of accounts, this is more notable.
250MP1, main, tictech
depends on backport 0008357 closed dalsasua General ledger window takes a long time to load with many accounts 
png ERROR_ACCOUNT.PNG (159,434) 2009-04-25 11:55
https://issues.openbravo.com/file_download.php?file_id=1224&type=bug
png
Issue History
2009-03-26 19:15jpabloaeNew Issue
2009-03-26 19:15jpabloaeAssigned To => rafaroda
2009-03-26 19:15jpabloaeRegression testing => No
2009-03-26 19:16jpabloaeTag Attached: tictech
2009-03-27 09:47rafarodaAssigned Torafaroda => dalsasua
2009-03-31 11:26psarobeSeveritycritical => major
2009-03-31 11:26psarobeStatusnew => scheduled
2009-03-31 11:26psarobefix_in_branch => pi
2009-04-06 17:21psarobePriorityimmediate => normal
2009-04-06 17:21psarobefix_in_branchpi =>
2009-04-07 16:08psarobePrioritynormal => immediate
2009-04-21 11:49hgbotCheckin
2009-04-21 11:49hgbotNote Added: 0015473
2009-04-21 11:49hgbotStatusscheduled => resolved
2009-04-21 11:49hgbotResolutionopen => fixed
2009-04-21 11:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5926054be1082f9fd0b4c462bd98e7e0328f5263 [^]
2009-04-22 11:23psarobeTag Attached: main
2009-04-25 11:54psarobeStatusresolved => new
2009-04-25 11:54psarobeResolutionfixed => open
2009-04-25 11:54psarobeNote Added: 0015732
2009-04-25 11:55psarobeFile Added: ERROR_ACCOUNT.PNG
2009-04-25 11:55psarobeTag Attached: 250MP1
2009-04-25 11:58psarobeStatusnew => scheduled
2009-04-25 11:58psarobeNote Added: 0015733
2009-04-25 11:58psarobefix_in_branch => pi
2009-04-27 11:00hgbotCheckin
2009-04-27 11:00hgbotNote Added: 0015756
2009-04-27 11:00hgbotStatusscheduled => resolved
2009-04-27 11:00hgbotResolutionopen => fixed
2009-04-27 11:00hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/5926054be1082f9fd0b4c462bd98e7e0328f5263 [^] => http://code.openbravo.com/erp/devel/pi/rev/f0dcb59057ede14236f5d394b33be0ba5a4fdc26 [^]
2009-04-28 19:24psarobeStatusresolved => closed
2009-04-29 00:00anonymoussf_bug_id0 => 2783257
2009-07-03 13:13hgbotCheckin
2009-07-03 13:13hgbotNote Added: 0017849
2009-07-03 13:13hgbotStatusclosed => resolved
2009-07-03 13:13hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/f0dcb59057ede14236f5d394b33be0ba5a4fdc26 [^] => http://code.openbravo.com/erp/devel/pi/rev/433ab191caa52aa3171eaaf401ef612c9e766291 [^]
2009-07-21 12:11sureshbabuStatusresolved => closed
2009-07-21 12:11sureshbabuNote Added: 0018476
2009-07-21 12:11sureshbabuFixed in Version2.50MP1 => pi

Notes
(0015473)
hgbot   
2009-04-21 11:49   
Repository: erp/devel/pi
Changeset: 5926054be1082f9fd0b4c462bd98e7e0328f5263
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Tue Apr 21 11:46:09 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5926054be1082f9fd0b4c462bd98e7e0328f5263 [^]

Fixes bug 0008321: General ledger window takes a long time to load with many accounts

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_SEARCH.xml
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.html
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.java
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.xml
A src/org/openbravo/erpCommon/info/AccountElementValue.html
A src/org/openbravo/erpCommon/info/AccountElementValue.java
A src/org/openbravo/erpCommon/info/AccountElementValue.xml
A src/org/openbravo/erpCommon/info/AccountElementValue_data.xsql
---
(0015732)
psarobe   
2009-04-25 11:54   
Hi david,

When you click the selector to open the account selector you cannot do it because a message is shown. It seems to be a problem with the permissions but I'm logged as Openbravo Admin so I shouldn't face this problem

SEE ATTACH
(0015733)
psarobe   
2009-04-25 11:58   
Please be carefully because it happens in 240 as well
(0015756)
hgbot   
2009-04-27 11:00   
Repository: erp/devel/pi
Changeset: f0dcb59057ede14236f5d394b33be0ba5a4fdc26
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Mon Apr 27 10:59:01 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f0dcb59057ede14236f5d394b33be0ba5a4fdc26 [^]

Fixes bug 0008321: General ledger window takes a long time to load with many accounts

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
---
(0017849)
hgbot   
2009-07-03 13:13   
Repository: erp/devel/pi
Changeset: 433ab191caa52aa3171eaaf401ef612c9e766291
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Mon Apr 27 10:59:01 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/433ab191caa52aa3171eaaf401ef612c9e766291 [^]

Fixes bug 0008321: General ledger window takes a long time to load with many accounts

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
---
(0018476)
sureshbabu   
2009-07-21 12:11   
Tested able to run the report after the fix.