Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021853Openbravo ERP02. Master data managementpublic2012-10-03 17:142012-10-11 07:51
guilleaer 
pramakrishnan 
highmajorhave not tried
closedfixed 
5
3.0MP15 
 
dmiguelez
Core
No
0021853: Products only can be assigned to a product category without subcategories (leaf).
After a conversation with Pablo Sarobe and Victor Martinez, only the categories which are leafs (without subcategories) can store products.

In MP15 you can select any category as a product category.
1. Go to product category
2. Create a category (sports) and mark it as summary
3. Create a category (football)
4. Create a category (basketball)
5. Click on tree button, in the toolbar
6. Put Football and basketball into sports (dragging)
7. Go to product
8. Create a product
9.1 Error 1: Product category selector shouldn't show the category sports because this category is not a leaf (has subcategories)
9.2 Error 2: You can select Sport as product category and this is wrong because sports is not a leaf (has subcategories)
No tags attached.
Issue History
2012-10-03 17:14guilleaerNew Issue
2012-10-03 17:14guilleaerAssigned To => dmiguelez
2012-10-03 17:14guilleaerModules => Core
2012-10-09 16:52pramakrishnanAssigned Todmiguelez => pramakrishnan
2012-10-09 16:52pramakrishnanStatusnew => scheduled
2012-10-09 16:52pramakrishnanfix_in_branch => pi
2012-10-10 18:19dmiguelezNote Added: 0053236
2012-10-10 18:20hgbotCheckin
2012-10-10 18:20hgbotNote Added: 0053237
2012-10-10 18:20hgbotStatusscheduled => resolved
2012-10-10 18:20hgbotResolutionopen => fixed
2012-10-10 18:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3c7f80659da4c35300b83f12def72a9387da3087 [^]
2012-10-10 18:21dmiguelezReview Assigned To => dmiguelez
2012-10-10 18:21dmiguelezNote Added: 0053238
2012-10-10 18:21dmiguelezStatusresolved => closed
2012-10-11 07:51hudsonbotCheckin
2012-10-11 07:51hudsonbotNote Added: 0053296

Notes
(0053236)
dmiguelez   
2012-10-10 18:19   
Test Plan:
Login as Openbravo/openbravo
Create a new Product Category
"Organization":F&B US, Inc.
"Search Key":S
"Name":Sports
"Summary Level":Y

Create a new Product
"Organization":F&B US, Inc.

Click the product category drop down
Notice that the product category "Sports" is not in the list
(0053237)
hgbot   
2012-10-10 18:20   
Repository: erp/devel/pi
Changeset: 3c7f80659da4c35300b83f12def72a9387da3087
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Wed Oct 10 10:58:48 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3c7f80659da4c35300b83f12def72a9387da3087 [^]

Fixes Issue 21853: Products only can be assigned to a product category without subcategories

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_VAL_RULE.xml
M src/org/openbravo/erpCommon/ad_callouts/SL_TaxCategory_Org.java
---
(0053238)
dmiguelez   
2012-10-10 18:21   
Code Review + Testing OK
(0053296)
hudsonbot   
2012-10-11 07:51   
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/63dfc135f2a1 [^]

Maturity status: Test