Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028034Openbravo ERPA. Platformpublic2014-10-30 18:092014-12-30 23:25
jecharri 
inigosanchez 
urgentmajoralways
closedfixed 
5
 
3.0PR15Q1 
AugustoMauch
Google Chrome
Core
No
0028034: Tree view should show inactive treenodes or at minimum give the option to the user to show it
Tree view should show inactive treenodes or at minimum give the option to the users to show it.

Before the new platform, all the treenodes where displayed so some client can have different trees after an upgrade.
-Go to ad_treenode table and disable the records related with organization tree
-Go to organization window
-Select an organization
-Go to tree view
No tags attached.
Issue History
2014-10-30 18:09jecharriNew Issue
2014-10-30 18:09jecharriAssigned To => AugustoMauch
2014-10-30 18:09jecharriWeb browser => Google Chrome
2014-10-30 18:09jecharriModules => Core
2014-10-30 18:09jecharriResolution time => 1417561200
2014-10-30 18:09jecharriTriggers an Emergency Pack => No
2014-11-11 17:08alostaleAssigned ToAugustoMauch => inigosanchez
2014-11-20 13:33inigosanchezIssue Monitored: AugustoMauch
2014-11-20 13:34inigosanchezReview Assigned To => AugustoMauch
2014-11-20 13:34inigosanchezWeb browserGoogle Chrome => Google Chrome
2014-11-20 13:34inigosanchezResolutionopen => fixed
2014-11-20 13:38hgbotCheckin
2014-11-20 13:38hgbotNote Added: 0071853
2014-11-20 13:38hgbotStatusnew => resolved
2014-11-20 13:38hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4e9779b00b65dfbfbc8a838ce2e604ec1ca3ef9a [^]
2014-11-24 17:20AugustoMauchNote Added: 0071954
2014-11-24 17:20AugustoMauchStatusresolved => closed
2014-11-24 17:20AugustoMauchFixed in Version => 3.0PR15Q1
2014-12-30 23:25hudsonbotCheckin
2014-12-30 23:25hudsonbotNote Added: 0073118

Notes
(0071853)
hgbot   
2014-11-20 13:38   
Repository: erp/devel/pi
Changeset: 4e9779b00b65dfbfbc8a838ce2e604ec1ca3ef9a
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Thu Nov 20 13:37:09 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/4e9779b00b65dfbfbc8a838ce2e604ec1ca3ef9a [^]

Fixes issue 28034: Tree view does not show inactive treenodes.

Tree view should show inactive treenodes but by defect OBCriteria is filtering
isActive=Y and not showing inactive treenodes.

To fix this problem has been added obq.setFilterOnActive(false) statement. It
has been added when building...
- The query of the parent node.
- The query of the children of the parent node.
- The query when using a "HQL Where clause".

Now, tree view show inactive treenodes.

---
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ADTreeDatasourceService.java
---
(0071954)
AugustoMauch   
2014-11-24 17:20   
Code reviewed and verified in pi@4e9779b00b65
(0073118)
hudsonbot   
2014-12-30 23:25   
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/6525fe229e06 [^]
Maturity status: Test