Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021349Openbravo ERP09. Financial managementpublic2012-08-10 12:112012-08-31 09:44
vmromanos 
vmromanos 
normalminorN/A
closedfixed 
20Debian 5.0
pi 
3.0MP153.0MP15 
mirurita
Core
No
0021349: Add tree support for Assets
For some projects it would be very useful to have tree capabilities for Assets. The tree icon in the Assets window should be shown, allowing the user to arrange the assets into a tree structure.

Take into account the assets tree capability should be also ready out of the box for clients created in the past (once they update their instances)
NA
No tags attached.
related to feature request 0021350 closed vmromanos Add tree support for Product Categories 
Issue History
2012-08-10 12:11vmromanosNew Issue
2012-08-10 12:11vmromanosAssigned To => vmromanos
2012-08-10 12:11vmromanosModules => Core
2012-08-10 12:13vmromanosIssue cloned0021350
2012-08-10 12:13vmromanosRelationship addedrelated to 0021350
2012-08-10 12:14vmromanosStatusnew => scheduled
2012-08-10 12:14vmromanosfix_in_branch => pi
2012-08-13 13:57vmromanosNote Added: 0051257
2012-08-14 08:30hgbotCheckin
2012-08-14 08:30hgbotNote Added: 0051266
2012-08-14 08:30hgbotStatusscheduled => resolved
2012-08-14 08:30hgbotResolutionopen => fixed
2012-08-14 08:30hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/54c144df5e36ad8efecf8dd451bec04043d8b85c [^]
2012-08-14 08:30hgbotCheckin
2012-08-14 08:30hgbotNote Added: 0051267
2012-08-14 08:30hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/54c144df5e36ad8efecf8dd451bec04043d8b85c [^] => http://code.openbravo.com/erp/devel/pi/rev/5d5d98acde93e567b01fbcd7216d6d01a4b91528 [^]
2012-08-31 09:44miruritaClosed by => mirurita
2012-08-31 09:44miruritaNote Added: 0051698
2012-08-31 09:44miruritaStatusresolved => closed
2012-08-31 09:44miruritaFixed in Version => 3.0MP15

Notes
(0051257)
vmromanos   
2012-08-13 13:57   
Test Plan I:
1. Create a new Client and a new org
2. Try to create a new Asset. Is Summary=N
3. Try to create a new Asset. Is Summary=Y
4. Click the tree icon.
5. Insert the first asset into the second one
6. Try to delete the summary level asset. The system should not allow it
7. Try to delete the child organization. The system should allow it

Test Plan II:
1. Log into an old created client,like for example F&B
2. Try to create a new Asset. Is Summary=N
3. Try to create a new Asset. Is Summary=Y
4. Click the tree icon.
5. Insert the first asset into the second one
6. Try to delete the summary level asset. The system should not allow it
7. Try to delete the child organization. The system should allow it
(0051266)
hgbot   
2012-08-14 08:30   
Repository: erp/devel/pi
Changeset: 54c144df5e36ad8efecf8dd451bec04043d8b85c
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Fri Aug 10 14:27:36 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/54c144df5e36ad8efecf8dd451bec04043d8b85c [^]

Fixed issue 21349: Add tree support for Assets
Updated Initial Client Setup to create Asset Primary Tree
Included module script to insert the required records for old clients
Updated Sampledata

---
M referencedata/sampledata/F_B_International_Group.xml
M referencedata/sampledata/QA_Testing.xml
M src-db/database/model/tables/AD_CLIENTINFO.xml
M src-db/database/model/tables/A_ASSET.xml
M src-db/database/model/triggers/A_ASSET_TRG.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-util/modulescript/build/classes/org/openbravo/modulescript/UpdateADClientInfo.class
M src-util/modulescript/build/classes/org/openbravo/modulescript/UpdateADClientInfoData.class
M src-util/modulescript/src/org/openbravo/modulescript/UpdateADClientInfo.java
M src-util/modulescript/src/org/openbravo/modulescript/UpdateADClientInfo_data.xsql
M src/org/openbravo/erpCommon/businessUtility/InitialClientSetup.java
M src/org/openbravo/erpCommon/utility/WindowTreeChecks.java
M src/org/openbravo/erpCommon/utility/WindowTreeUtility.java
M src/org/openbravo/erpCommon/utility/WindowTree_data.xsql
---
(0051267)
hgbot   
2012-08-14 08:30   
Repository: erp/devel/pi
Changeset: 5d5d98acde93e567b01fbcd7216d6d01a4b91528
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Mon Aug 13 10:30:09 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5d5d98acde93e567b01fbcd7216d6d01a4b91528 [^]

Fixed issue 21349: Added AS treetype to A_Asset record inside AD_TABLE

---
M src-db/database/sourcedata/AD_TABLE.xml
---
(0051698)
mirurita   
2012-08-31 09:44   
code review + testing OK