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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028698
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 02. Master data managementmajoralways2015-01-20 16:152015-02-04 20:35
ReporterjecharriView Statuspublic 
Assigned Toreinaldoguerra 
PriorityurgentResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revisiona0bbb21686cf
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toumartirena
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028698: Not possible to remove variants immediately after creation process

DescriptionNot possible to remove variants immediately after creation process
Steps To Reproduce-Create a variant product characteristic
-Create a generic product
-Assign created characteristic
-Create variants
-Try to remove one variant

You will receive an error
You cannot delete this record. This characteristic has a value related.

It should be able to delete when the variant has not been used
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0073988)
reinaldoguerra (developer)
2015-02-02 15:08

Test plan used:
1- Login into Openbravo ERP.
2- Go to Product Characteristic window
3- Create a new header, for example: "Color". Check it as variant
4- Go to value tab and create two records (colors) for example: Red and Blue
5- Go to product window and create a new one, set it as generic (check Is generic flag)
6- Set prices and a price list version in the Price tab
7- Go to characteristic tab and create a new record, the characteristic created before will be selected. Save it
8- Click on Create Variants button and execute the process. Two new products will be created as variants of the first one.
9- As none of this new products are yet used, it is possible now remove them successfuly.
(0074005)
hgbot (developer)
2015-02-02 19:02

Repository: erp/devel/pi
Changeset: a0bbb21686cf53773702368a8d67d1db1fb732a6
Author: Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
Date: Fri Jan 30 19:43:37 2015 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/a0bbb21686cf53773702368a8d67d1db1fb732a6 [^]

Fixed bug 28698: Not possible to remove variants, right after creation process.

The validation for existent values associated with product's characteristics was removed to make possible to delete a product variant. So now it is possible to delete the product (variant of another product) unless this product is already in use. In this case the standard message will be shown.

---
M src/org/openbravo/event/ProductCharacteristicEventHandler.java
---
(0074006)
umartirena (reporter)
2015-02-02 19:03

Code Review + Testing OK
(0074210)
hudsonbot (developer)
2015-02-04 20:35

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/f36c91d0ad63 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2015-01-20 16:15 jecharri New Issue
2015-01-20 16:15 jecharri Assigned To => dmiguelez
2015-01-20 16:15 jecharri Web browser => Google Chrome
2015-01-20 16:15 jecharri Modules => Core
2015-01-20 16:15 jecharri Resolution time => 1424732400
2015-01-20 16:15 jecharri Triggers an Emergency Pack => No
2015-01-30 20:37 reinaldoguerra Web browser Google Chrome => Google Chrome
2015-01-30 20:37 reinaldoguerra Assigned To dmiguelez => reinaldoguerra
2015-01-30 20:37 reinaldoguerra Status new => scheduled
2015-02-02 15:08 reinaldoguerra Note Added: 0073988
2015-02-02 19:02 hgbot Checkin
2015-02-02 19:02 hgbot Note Added: 0074005
2015-02-02 19:02 hgbot Status scheduled => resolved
2015-02-02 19:02 hgbot Resolution open => fixed
2015-02-02 19:02 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a0bbb21686cf53773702368a8d67d1db1fb732a6 [^]
2015-02-02 19:03 umartirena Review Assigned To => umartirena
2015-02-02 19:03 umartirena Note Added: 0074006
2015-02-02 19:03 umartirena Status resolved => closed
2015-02-02 19:03 umartirena Fixed in Version => pi
2015-02-04 20:35 hudsonbot Checkin
2015-02-04 20:35 hudsonbot Note Added: 0074210


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker