Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021423
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 02. Master data managementminoralways2012-08-22 22:192012-09-28 14:38
ReporterpjuvaraView Statuspublic 
Assigned Tovmromanos 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisioncf7cdf44ef28
ProjectionnoneETAnoneTarget Version3.0MP16
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0MP12.1SCM revision 
Review Assigned Todmiguelez
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021423: Default product category is not respected

DescriptionWhen you define product categories, you can specify a default category.

However, when you create new products, that category is not correctly defaulted based on that and instead the first category in alphabetical list is selected.

This is the same design pattern we have for business partners, business partner categories and it works there.
Steps To Reproduce1) Mark a product category as default
2) Create a new product
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0051948)
jonalegriaesarte (reporter)
2012-09-07 18:00

Added target version MP16
(0052306)
hgbot (developer)
2012-09-24 10:34

Repository: erp/devel/pi
Changeset: cf7cdf44ef28b50467cc1ea7aec7d7c8f3420c2d
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Wed Sep 19 16:33:04 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/cf7cdf44ef28b50467cc1ea7aec7d7c8f3420c2d [^]

Fixed Issue 21423 : Default product category is not respected

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src/org/openbravo/erpCommon/ad_callouts/SL_TaxCategory_Org.java
---
(0052307)
dmiguelez (developer)
2012-09-24 10:37

Code Review + Testing OK
(0052352)
dmiguelez (developer)
2012-09-24 16:59

Test Plan 1:
Login as Openbravo/openbravo

Change role to QAAdmin
Create a new Product Category
"Organization": *
"Name": Laptops
"Default": Y

Create a new Product
"Organization": *

Notice that the Product Category Defaults to "Laptops"

Test Plan 2:
Login as Openbravo/openbravo

Change role to QAAdmin
Create a new Product Category
"Organization": *
"Name": Laptops
"Default": N

Create a new Product
"Organization": *

Notice that the Product Category Defaults to "Bill of Materials"

Test Plan 3:
Login as Openbravo/openbravo

Change role to QAAdmin
Create a new Product Category
"Organization": Spain
"Name": Laptops
"Default": Y

Create a new Product
"Organization": Spain

Notice that the Product Category Defaults to "Laptops"

Test Plan 4:
Login as Openbravo/openbravo

Change role to QAAdmin
Create a new Product Category
"Organization": Spain
"Name": Laptops
"Default": Y

Create a new Product
"Organization": *

Notice that the Product Category Defaults to "Bill of Materials"

Test Plan 5:
Login as Openbravo/openbravo

Change role to QAAdmin
Create a new Product Category
"Organization": Spain
"Name": Laptops
"Default": Y

Create a new Product Category
"Organization": *
"Name": Mobiles
"Default": Y

Create a new Product
"Organization": *

Notice that the Product Category Defaults to "Mobiles"

Change the Organization to Spain
Notice that the Product Category Defaults to "Laptops"
(0052881)
hudsonbot (developer)
2012-09-28 14:38

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/6d2f8cffd4b1 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-08-22 22:19 pjuvara New Issue
2012-08-22 22:19 pjuvara Assigned To => vmromanos
2012-08-22 22:19 pjuvara Modules => Core
2012-09-07 18:00 jonalegriaesarte Note Added: 0051948
2012-09-07 18:00 jonalegriaesarte Target Version => 3.0MP16
2012-09-24 10:34 hgbot Checkin
2012-09-24 10:34 hgbot Note Added: 0052306
2012-09-24 10:34 hgbot Status new => resolved
2012-09-24 10:34 hgbot Resolution open => fixed
2012-09-24 10:34 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cf7cdf44ef28b50467cc1ea7aec7d7c8f3420c2d [^]
2012-09-24 10:37 dmiguelez Closed by => dmiguelez
2012-09-24 10:37 dmiguelez Note Added: 0052307
2012-09-24 10:37 dmiguelez Status resolved => closed
2012-09-24 16:59 dmiguelez Note Added: 0052352
2012-09-28 14:38 hudsonbot Checkin
2012-09-28 14:38 hudsonbot Note Added: 0052881


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker