Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009011Openbravo ERP09. Financial managementpublic2009-05-13 10:062009-05-26 00:00
maria_perez 
alostale 
urgentcriticalalways
closedfixed 
10
2.50 
 
Core
No
0009011: Assets do not appear in Balance sheet
In Balance Sheet, Assets do not appear, and the other node (Liability) is shown.
Reproduced for both Accounting Test entity and for SmallBazaar.
1. Log in as Openbravo Admin, entity SmallBazaar
2. Go to Financial Management || Accounting || Analysis Tools || Balance sheet and P&L structure and execute report for 2006.
3. Check the results (attached)
No tags attached.
related to defect 0008108pi closed alostale Some subreports are failiing 
pdf BalanceSheet250.pdf (4,113) 2009-05-13 10:06
https://issues.openbravo.com/file_download.php?file_id=1300&type=bug
Issue History
2009-05-13 10:06maria_perezNew Issue
2009-05-13 10:06maria_perezAssigned To => rafaroda
2009-05-13 10:06maria_perezFile Added: BalanceSheet250.pdf
2009-05-13 10:15rafarodaAssigned Torafaroda => dalsasua
2009-05-13 15:26dalsasuaNote Added: 0016321
2009-05-13 15:26dalsasuaAssigned Todalsasua => alostale
2009-05-13 15:26dalsasuaStatusnew => acknowledged
2009-05-14 09:53alostaleStatusacknowledged => scheduled
2009-05-14 09:53alostalefix_in_branch => pi
2009-05-14 09:54alostalePrioritynormal => urgent
2009-05-14 09:54alostalefix_in_branchpi =>
2009-05-14 10:20alostaleRelationship addedrelated to 0008108
2009-05-14 15:40alostaleNote Added: 0016355
2009-05-14 15:42hgbotCheckin
2009-05-14 15:42hgbotNote Added: 0016356
2009-05-14 15:42hgbotStatusscheduled => resolved
2009-05-14 15:42hgbotResolutionopen => fixed
2009-05-14 15:42hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/316fdfd39d178dc0f5931fe73c69a53628bf3a55 [^]
2009-05-25 17:39psarobeStatusresolved => closed
2009-05-25 17:39psarobeNote Added: 0016635
2009-05-25 17:40psarobeNote Added: 0016636
2009-05-26 00:00anonymoussf_bug_id0 => 2796597

Notes
(0016321)
dalsasua   
2009-05-13 15:26   
Localization Team has detected that is a problem in XmlEngine. We checked that in GeneralAccountingReport servlet, through this lines

for (int i = 0; i < strGroups.length; i++)
  trees[i] = acct[i].getAccounts();

xmlDocument.setDataArray("reportDetail", "structure1", trees);

String strResult = xmlDocument.print();
renderFO(strResult, response);

correct array (Trees) is given to the setDataArray method, but it is not correctly managed by XmlEngine.
It has to be with the fix of this issue https://issues.openbravo.com/view.php?id=8108 [^] that was reported due to this commit https://code.openbravo.com/erp/devel/pi/rev/da25ccb7bcfb [^]
(0016355)
alostale   
2009-05-14 15:40   
Note to QA:

Be very cautious when reviewing this issue since it introduces changes in XmlEngine. Specially check the behavior of the elements affected by the related issues.
(0016356)
hgbot   
2009-05-14 15:42   
Repository: erp/devel/pi
Changeset: 316fdfd39d178dc0f5931fe73c69a53628bf3a55
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu May 14 15:41:22 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/316fdfd39d178dc0f5931fe73c69a53628bf3a55 [^]

fixed bug 0009011: Assets do not appear in Balance sheet

Refactor online translations in XmlEngine for sections

---
M src-core/src/org/openbravo/xmlEngine/XmlDocument.java
M src-core/src/org/openbravo/xmlEngine/XmlVectorValue.java
---
(0016635)
psarobe   
2009-05-25 17:39   
Tested in PI and works fine
(0016636)
psarobe   
2009-05-25 17:40   
Also tested all the create lines from and the Payment reports. All of them using the Spanish language