Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027391Openbravo ERP02. Master data managementpublic2014-08-20 14:442014-12-30 23:22
jonalegriaesarte 
fsoto82 
normalmajorhave not tried
closedfixed 
5
 
3.0PR15Q1 
vmromanos
Core
No
0027391: Characteristic can be removed from generic product once the variants are created
Characteristic can be removed from generic product once the variants are created
- Create characteristic with one value
- Create a generic product and add the characteristic
- Create variants
- In original product remove the characteristic, the system allows it
- After that the user can not add again the characteristic to the product. Error:
Error
Saving failed. It is not possible to add a Variant characteristic to a Generic Product that already has variants created.
No tags attached.
Issue History
2014-08-20 14:44jonalegriaesarteNew Issue
2014-08-20 14:44jonalegriaesarteAssigned To => AtulOpenbravo
2014-08-20 14:44jonalegriaesarteModules => Core
2014-08-20 14:44jonalegriaesarteResolution time => 1411423200
2014-08-20 14:44jonalegriaesarteTriggers an Emergency Pack => No
2014-09-29 16:12jonalegriaesarteTarget Version3.0PR14Q4 => 3.0PR15Q1
2014-10-01 22:24fsoto82Statusnew => scheduled
2014-10-01 22:24fsoto82Assigned ToAtulOpenbravo => fsoto82
2014-10-01 22:24fsoto82fix_in_branch => pi
2014-10-04 08:34fsoto82Note Added: 0070708
2014-10-15 17:38hgbotCheckin
2014-10-15 17:38hgbotNote Added: 0070973
2014-10-15 17:38hgbotStatusscheduled => resolved
2014-10-15 17:38hgbotResolutionopen => fixed
2014-10-15 17:38hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5bd7458db202ff9f7bf4d47e7aa9ccc2ab3a5606 [^]
2014-10-15 17:39vmromanosReview Assigned To => vmromanos
2014-10-15 17:39vmromanosNote Added: 0070974
2014-10-15 17:39vmromanosStatusresolved => closed
2014-12-30 23:22hudsonbotCheckin
2014-12-30 23:22hudsonbotNote Added: 0072939

Notes
(0070708)
fsoto82   
2014-10-04 08:34   
- Create characteristic with one value
- Create a generic product and add the characteristic
- Create variants
- In original product try to remove the characteristic
the system don't allow to remove a product's charactesitic when variants are created
(0070973)
hgbot   
2014-10-15 17:38   
Repository: erp/devel/pi
Changeset: 5bd7458db202ff9f7bf4d47e7aa9ccc2ab3a5606
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Wed Oct 15 17:37:38 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5bd7458db202ff9f7bf4d47e7aa9ccc2ab3a5606 [^]

Fixed bug 27391: Avoid to remove Product Characteristic that created variants

The Event Observer associated to the Product Characteristic allows to delete a record only when there are no other products created from the Product Characteristic variants

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/event/ProductCharacteristicEventHandler.java
---
(0070974)
vmromanos   
2014-10-15 17:39   
Code review + testing OK
(0072939)
hudsonbot   
2014-12-30 23:22   
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/6525fe229e06 [^]
Maturity status: Test