Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0027941 | Openbravo ERP | 07. Sales management | public | 2014-10-22 00:48 | 2014-12-30 23:27 |
|
Reporter | jecharri | |
Assigned To | fsoto82 | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | pramakrishnan |
OBNetwork customer | OBPS |
Web browser | Google Chrome |
Modules | Core |
Support ticket | 31892 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0027941: Forbid to delete a characteristics if the product has a value |
Description | Forbid to delete a characteristics if the product has a value. The problem is that if you delete the characteristic the product keeps with the value and it is impossible to delete the characteristic or update the value in the product. |
Steps To Reproduce | -Define a product characteristics. Not variant
-Assign a value
-Go to product window
-Choose a product and assign a characteristic and a value
-Delete the characteristic
verify that you can not delete the value in window "Product characteristic" because still are related records and also you can not update the value in the product until you insert again the characteristic.
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-10-22 00:48 | jecharri | New Issue | |
2014-10-22 00:48 | jecharri | Assigned To | => dmiguelez |
2014-10-22 00:48 | jecharri | OBNetwork customer | => Yes |
2014-10-22 00:48 | jecharri | Web browser | => Google Chrome |
2014-10-22 00:48 | jecharri | Modules | => Core |
2014-10-22 00:48 | jecharri | Support ticket | => 31892 |
2014-10-22 00:48 | jecharri | Resolution time | => 1416783600 |
2014-10-22 00:48 | jecharri | Triggers an Emergency Pack | => No |
2014-10-31 13:09 | dmitry_mezentsev | Assigned To | dmiguelez => Sandrahuguet |
2014-11-10 04:47 | fsoto82 | Status | new => scheduled |
2014-11-10 04:47 | fsoto82 | Assigned To | Sandrahuguet => fsoto82 |
2014-11-10 04:47 | fsoto82 | fix_in_branch | => pi |
2014-11-10 04:57 | fsoto82 | Note Added: 0071508 | |
2014-12-15 11:04 | hgbot | Checkin | |
2014-12-15 11:04 | hgbot | Note Added: 0072502 | |
2014-12-15 11:04 | hgbot | Status | scheduled => resolved |
2014-12-15 11:04 | hgbot | Resolution | open => fixed |
2014-12-15 11:04 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/fa79e561d3c6700e87cd10158b9caaf257e516ef [^] |
2014-12-15 11:05 | pramakrishnan | Review Assigned To | => pramakrishnan |
2014-12-15 11:05 | pramakrishnan | Note Added: 0072503 | |
2014-12-15 11:05 | pramakrishnan | Status | resolved => closed |
2014-12-30 23:27 | hudsonbot | Checkin | |
2014-12-30 23:27 | hudsonbot | Note Added: 0073218 | |
Notes |
|
|
- Create a Poduct Characteristic (not variant)
- Go to Product and select one
- Add a characteristic
- Set a value for that characteristic (Update Characteristics button)
Case 1
- Try to remove the Characteristic from the product
Now you can't remove characteristics from a product if has a value associated.
Case 2
- Try to change the characteristic
Now you can't change the characteristic if has a value associated. |
|
|
(0072502)
|
hgbot
|
2014-12-15 11:04
|
|
Repository: erp/devel/pi
Changeset: fa79e561d3c6700e87cd10158b9caaf257e516ef
Author: Fernando Soto <fernando.soto <at> peoplewalking.com>
Date: Fri Dec 12 09:23:03 2014 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/fa79e561d3c6700e87cd10158b9caaf257e516ef [^]
Fixed bug 27941: Forbid to delete a characteristics if the product has a value
Modified ProductCharacteristicEventHandler to forbid deletion of an characteristic of product that has a value associated.
Added error Message 'DeleteProductChWithValue' and 'UpdateProductChWithValue'
---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/event/ProductCharacteristicEventHandler.java
---
|
|
|
|
Code Review + Testing - OK. |
|
|
|
|