Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030724Openbravo ERP02. Master data managementpublic2015-09-01 17:242015-11-23 21:17
gorkaion 
gorkaion 
normalminorN/A
closedfixed 
5
 
 
dmiguelez
Core
No
0030724: Add ability to configure if values of a variant characteristics need to be added automatically to the configuration tab.
When a variant characteristic is added to a generic product all its values are copied in the configuration tab.

If the characteristic has many values it makes more sense to be able to configure it so only the desired values are added manually by the user.
Create a characteristic with some values.
Create a new product checking the is generic flag.
Add the characteristic to the product as a variant.
Check that all the values are inserted in the configuration tab but it is nos possible to delete or insert new ones.
Add a flag in the Characteristic definition and in the Product Characteristic definition to disable the automatic insert. This flag should work in a similar way than the is variant flag.
No tags attached.
depends on feature request 0030721 closed gorkaion Openbravo ERP Ability to insert or delete records in the Product Characteristic Configuration tab 
blocks feature request 0030726 closed gorkaion Modules Implement is explode configuration tab 
diff issues-30721-30724-isexplodeflag-rev-496c8deb9c51.diff (32,690) 2015-09-03 13:12
https://issues.openbravo.com/file_download.php?file_id=8417&type=bug
diff testAddExplodeFlagToCharacteristics.diff (42,102) 2015-11-05 12:00
https://issues.openbravo.com/file_download.php?file_id=8691&type=bug
Issue History
2015-09-01 17:24gorkaionNew Issue
2015-09-01 17:24gorkaionAssigned To => gorkaion
2015-09-01 17:24gorkaionModules => Core
2015-09-01 17:24gorkaionTriggers an Emergency Pack => No
2015-09-01 17:25gorkaionRelationship addeddepends on 0030721
2015-09-01 17:39gorkaionRelationship addedblocks 0030726
2015-09-03 13:12gorkaionFile Added: issues-30721-30724-isexplodeflag-rev-496c8deb9c51.diff
2015-11-05 09:47jonibcFile Added: testAddExplodeFlagToCharacteristics.diff
2015-11-05 09:58gorkaionNote Added: 0081493
2015-11-05 11:59jonibcFile Deleted: testAddExplodeFlagToCharacteristics.diff
2015-11-05 12:00jonibcFile Added: testAddExplodeFlagToCharacteristics.diff
2015-11-12 10:22hgbotCheckin
2015-11-12 10:22hgbotNote Added: 0081738
2015-11-12 10:22hgbotStatusnew => resolved
2015-11-12 10:22hgbotResolutionopen => fixed
2015-11-12 10:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/eca7d0102a7e9f59bfea63e233625949dfe5316b [^]
2015-11-12 13:25dmiguelezReview Assigned To => dmiguelez
2015-11-12 13:25dmiguelezNote Added: 0081756
2015-11-12 13:25dmiguelezStatusresolved => closed
2015-11-23 21:17hudsonbotCheckin
2015-11-23 21:17hudsonbotNote Added: 0082203

Notes
(0081493)
gorkaion   
2015-11-05 09:58   
Test cases in Test Link in suite:

3.0 Test Suite -> Functional Team -> Product Characteristics

Tests PC040 and PC050
(0081738)
hgbot   
2015-11-12 10:22   
Repository: erp/devel/pi
Changeset: eca7d0102a7e9f59bfea63e233625949dfe5316b
Author: Jonathan Bueno <jonathan.bueno <at> openbravo.com>
Date: Thu Nov 12 10:20:59 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/eca7d0102a7e9f59bfea63e233625949dfe5316b [^]

Fixed issue 30721. Fixed issue 30724

Now is possible to insert or delete records in product characteristic configuration tab.


When a variant characteristic is added to a generic product all its values are copied in the configuration tab.

---
M src-db/database/model/tables/M_CHARACTERISTIC.xml
M src-db/database/model/tables/M_PRODUCT_CH.xml
M src-db/database/model/tables/M_PRODUCT_CH_CONF.xml
M src-db/database/model/triggers/M_CH_SUBSET_VALUE_TRG.xml
M src-db/database/model/triggers/M_CH_VALUE_TRG.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_TAB.xml
M src/org/openbravo/erpCommon/ad_callouts/SL_ProductCh_Characteristic.java
M src/org/openbravo/event/ProductCharacteristicEventHandler.java
---
(0081756)
dmiguelez   
2015-11-12 13:25   
Code Review + Testing done
(0082203)
hudsonbot   
2015-11-23 21:17   
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/7b56bebaaa88 [^]
Maturity status: Test