Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021602Openbravo ERP09. Financial managementpublic2012-09-11 10:302012-09-26 17:19
vmromanos 
vmromanos 
normaltrivialN/A
closedfixed 
20Debian 5.0
 
3.0MP16 
dmiguelez
Core
No
0021602: Static flag in Assets window
A new flag called Static should be added to the Assets window.

This flag should control whether this asset can be moved or not into the tree.
See desc.
1. Inside the Assets window, set the Static = Y
2. Click the tree icon and try to change the parent of this asset. An error should be displayed
3. Set Static = N
4. Click the tree icon and try to change the parent of this asset. The system should allow you
Coworking
Issue History
2012-09-11 10:30vmromanosNew Issue
2012-09-11 10:30vmromanosAssigned To => vmromanos
2012-09-11 10:30vmromanosModules => Core
2012-09-11 11:22vmromanosTag Attached: Coworking
2012-09-11 16:33vmromanosStatusnew => scheduled
2012-09-11 16:33vmromanosfix_in_branch => pi
2012-09-11 18:08vmromanosNote Added: 0052006
2012-09-12 09:21hgbotCheckin
2012-09-12 09:21hgbotNote Added: 0052012
2012-09-12 09:21hgbotStatusscheduled => resolved
2012-09-12 09:21hgbotResolutionopen => fixed
2012-09-12 09:21hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e75d1f34e9b475a0c707f4d035de8d8743a992d8 [^]
2012-09-25 17:27dmiguelezClosed by => dmiguelez
2012-09-25 17:27dmiguelezNote Added: 0052591
2012-09-25 17:27dmiguelezStatusresolved => closed
2012-09-26 17:19hudsonbotCheckin
2012-09-26 17:19hudsonbotNote Added: 0052731

Notes
(0052006)
vmromanos   
2012-09-11 18:08   
Test plan:
1. Go to Assets window
2. Create a new record. Name = SUMMARY, Summary level = Y, Static = N
3. Create a new record. Name = Child 1, Summary level = N, Static = N
4. Create a new record. Name = Child 2, Summary level = N, Static = N
5. Press the tree icon button. Try to move Child 1 and Child 2 under SUMMARY
6. Set Child 1 as Static = Y
7. Try to move Child 2 outside SUMMARY
8. Try to move Child 1 outside SUMMARY. An error is displayed and the operation is not done
9. Close the popup, go back to the Assets window and set Child 1 as Static = N
10. Try to move Child 1 outside SUMMARY. No error should be displayed.
(0052012)
hgbot   
2012-09-12 09:21   
Repository: erp/devel/pi
Changeset: e75d1f34e9b475a0c707f4d035de8d8743a992d8
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Tue Sep 11 18:13:02 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e75d1f34e9b475a0c707f4d035de8d8743a992d8 [^]

Fixed bug 21602: Static flag in Assets window
A new flag, called Static, is displayed into the Assets window
If set to Yes, it prevents from moving the asset into the tree, which
basically means changing its parent.

---
M src-db/database/model/tables/A_ASSET.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/org/openbravo/erpCommon/utility/WindowTreeChecks.java
M src/org/openbravo/erpCommon/utility/WindowTree_data.xsql
---
(0052591)
dmiguelez   
2012-09-25 17:27   
Code Review + Testing OK
(0052731)
hudsonbot   
2012-09-26 17:19   
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/b780e90c6452 [^]

Maturity status: Test