Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0031856Openbravo ERP09. Financial managementpublic2016-01-11 11:492016-03-17 10:55
maite 
caristu 
urgentmajoralways
closedfixed 
5
 
3.0PR16Q23.0PR16Q2 
alostale
Core
No
0031856: It is not supported to have more than one "Tree and node image" record defined for same client
When defining more than "Tree and node image" records for same client, then Tree view from Account Tree | Element Value tab does not work
1. Create new record in Tree and Node Image window with Type Area= EV
2. Create new record in Account Tree window for EspaƱa organization and pointing to your new tree
3. Create Element Value defined as Account and Summary Level=yes
4. Create Element Value defined as SubAccount and Summary Level=no
5. Press Tree view icon from element value tab and realize that elements are not shown

NOTE: if you create new Account Tree element, pointing to "F&B International Group Element Value (Account, etc.)" tree then tree view works correctly
No tags attached.
related to feature request 00259063.0PR14Q2 closed AugustoMauch Tree Extension Project 
related to defect 0033198 closed dmiguelez Wrong Organization in treenode 
related to defect 0033412 closed caristu error in tree sub tab when creating record in its header 
diff issue31856.diff (14,066) 2016-01-18 09:46
https://issues.openbravo.com/file_download.php?file_id=8931&type=bug
Issue History
2016-01-11 11:49maiteNew Issue
2016-01-11 11:49maiteAssigned To => Triage Finance
2016-01-11 11:49maiteModules => Core
2016-01-11 11:49maiteResolution time => 1455058800
2016-01-11 11:49maiteTriggers an Emergency Pack => No
2016-01-11 11:58maiteIssue Monitored: networkb
2016-01-15 06:44AtulOpenbravoAssigned ToTriage Finance => platform
2016-01-15 12:21alostaleRelationship addedrelated to 0025906
2016-01-15 12:32alostaleStatusnew => acknowledged
2016-01-18 09:46alostaleFile Added: issue31856.diff
2016-01-18 09:46alostaleNote Added: 0083364
2016-01-19 08:55caristuAssigned Toplatform => caristu
2016-01-19 08:55caristuStatusacknowledged => scheduled
2016-01-26 11:54caristuReview Assigned To => alostale
2016-01-26 11:54caristuIssue Monitored: alostale
2016-01-26 11:55hgbotCheckin
2016-01-26 11:55hgbotNote Added: 0083610
2016-01-26 11:55hgbotStatusscheduled => resolved
2016-01-26 11:55hgbotResolutionopen => fixed
2016-01-26 11:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/17c442ff5b2b356144810cf70cbfb493ca625bbb [^]
2016-01-26 12:58hgbotCheckin
2016-01-26 12:58hgbotNote Added: 0083613
2016-01-29 09:41alostaleNote Added: 0083716
2016-01-29 09:41alostaleStatusresolved => closed
2016-01-29 09:41alostaleFixed in Version => 3.0PR16Q2
2016-03-17 10:55hudsonbotCheckin
2016-03-17 10:55hudsonbotNote Added: 0085081
2016-03-17 10:55hudsonbotCheckin
2016-03-17 10:55hudsonbotNote Added: 0085082
2016-06-14 10:37alostaleRelationship addedrelated to 0033198
2016-08-22 14:05caristuRelationship addedrelated to 0033412

Notes
(0083364)
alostale   
2016-01-18 09:46   
Attached WiP fix
(0083610)
hgbot   
2016-01-26 11:55   
Repository: erp/devel/pi
Changeset: 17c442ff5b2b356144810cf70cbfb493ca625bbb
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Jan 26 10:30:45 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/17c442ff5b2b356144810cf70cbfb493ca625bbb [^]

fixes issue 31856: allow multiple 'Tree and node image' for same client

The Account Tree window was using the ADTreeDatasourceService which asumes that a table is always represented by the same AD_Tree. In this case, two account trees (c_elementvalue table) can have different base trees to display their information. In order to support this scenario, a new datasource has been created: AccountTreeDatasourceService which allows to select the correct base tree on each case.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/event/TreeTablesEventHandler.java
M modules/org.openbravo.service.datasource/src-db/database/sourcedata/OBSERDS_DATASOURCE.xml
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ADTreeDatasourceService.java
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/LinkToParentTreeDatasourceService.java
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/TreeDatasourceService.java
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_TABLE_TREE.xml
M src/org/openbravo/erpCommon/businessUtility/InitialSetupUtility.java
A modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/AccountTreeDatasourceService.java
---
(0083613)
hgbot   
2016-01-26 12:58   
Repository: erp/devel/pi
Changeset: 55b87803d2f40f95e88a5f0329e7b276c2a02bf4
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Jan 26 12:57:37 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/55b87803d2f40f95e88a5f0329e7b276c2a02bf4 [^]

related to issue 31856: remove comment and add missing javadoc descriptions

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/event/TreeTablesEventHandler.java
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ADTreeDatasourceService.java
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/TreeDatasourceService.java
---
(0083716)
alostale   
2016-01-29 09:41   
Code reviewed + tested
(0085081)
hudsonbot   
2016-03-17 10:55   
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/b22fb0500156 [^]
Maturity status: Test
(0085082)
hudsonbot   
2016-03-17 10:55   
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/b22fb0500156 [^]
Maturity status: Test