Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021350Openbravo ERP02. Master data managementpublic2012-08-10 12:132012-08-31 09:45
vmromanos 
vmromanos 
normalminorN/A
closedfixed 
20Debian 5.0
pi 
3.0MP15 
mirurita
Core
No
0021350: Add tree support for Product Categories
For some projects it would be very useful to have tree capabilities for Product Categories. The tree icon in the Product Category window should be shown, allowing the user to arrange the product categories into a tree structure.

Take into account the product category 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 00213493.0MP15 closed vmromanos Add tree support for Assets 
related to feature request 0003385 scheduled vmromanos Hierarchical product categories 
Issue History
2012-08-10 12:13vmromanosNew Issue
2012-08-10 12:13vmromanosAssigned To => vmromanos
2012-08-10 12:13vmromanosModules => Core
2012-08-10 12:13vmromanosIssue generated from0021349
2012-08-10 12:13vmromanosRelationship addedrelated to 0021349
2012-08-13 13:32vmromanosStatusnew => scheduled
2012-08-13 13:32vmromanosfix_in_branch => pi
2012-08-13 14:00vmromanosNote Added: 0051258
2012-08-14 08:31hgbotCheckin
2012-08-14 08:31hgbotNote Added: 0051268
2012-08-14 08:31hgbotStatusscheduled => resolved
2012-08-14 08:31hgbotResolutionopen => fixed
2012-08-14 08:31hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3870fb7dde60dd37d1eba1ba78958a3f227dbe50 [^]
2012-08-31 09:45miruritaClosed by => mirurita
2012-08-31 09:45miruritaNote Added: 0051699
2012-08-31 09:45miruritaStatusresolved => closed
2012-08-31 09:45miruritaFixed in Version => 3.0MP15
2012-09-06 08:44vmromanosRelationship addedrelated to 0003385

Notes
(0051258)
vmromanos   
2012-08-13 14:00   
Test Plan I:
1. Create a new Client and a new org
2. Try to create a new Product Category. Is Summary=N
3. Try to create a new Product Category. Is Summary=Y
4. Click the tree icon.
5. Insert the first Product Category into the second one
6. Try to delete the summary level Product Category. 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 Product Category. Is Summary=N
3. Try to create a new Product Category. Is Summary=Y
4. Click the tree icon.
5. Insert the first Product Category into the second one
6. Try to delete the summary level Product Category. The system should not allow it
7. Try to delete the child organization. The system should allow it

Test Plan III:
1. Log into an old created client,like for example F&B
2. Ensure the already created product categories are displayed into the tree
3. Set the issummary level flag to Y for any of them
4. Try to change the tree structure
(0051268)
hgbot   
2012-08-14 08:31   
Repository: erp/devel/pi
Changeset: 3870fb7dde60dd37d1eba1ba78958a3f227dbe50
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Mon Aug 13 13:34:04 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3870fb7dde60dd37d1eba1ba78958a3f227dbe50 [^]

Fixed issue 21350: Add tree support for Product Categories
Updated Initial Client Setup to link the Product Category 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/M_PRODUCT_CATEGORY.xml
M src-db/database/model/triggers/M_PRODUCT_CATEGORY_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_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/WindowTree_data.xsql
---
(0051699)
mirurita   
2012-08-31 09:45   
code review + testing OK