Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035381Retail ModulesWeb POSpublic2017-02-28 16:062017-03-31 08:39
Sandrahuguet 
ranjith_qualiantech_com 
urgentminorhave not tried
closedfixed 
20Community Appliance
 
 
migueldejuana
Production - QA Approved
RR16Q4
No
0035381: Characteristics values are not shown in tree mode
Characteristics values are not shown in tree mode
In the backend:
-Go to Product Characteristic window
-Select 'Use' category
-Create a new value -> name: Alpine, summary level: true
-Select tree view and drag and drop "Alpine Skiing, Ski Touring" and "Alpine Skiing, Snowboarding" inside "Alpine"

Log in WebPOS
-Tap on search
-Tap on Use characteristic, notice that characteristic values are not shown in tree mode
No tags attached.
depends on backport 0035529RR17Q1.1 closed ranjith_qualiantech_com Characteristics values are not shown in tree mode 
depends on backport 0035530RR16Q4.3 closed ranjith_qualiantech_com Characteristics values are not shown in tree mode 
related to defect 0035382 closed ranjith_qualiantech_com Characteristic treenode information is redundant in remote mode for products 
? out-5-10.ogv (4,160,790) 2017-03-29 17:15
https://issues.openbravo.com/file_download.php?file_id=10622&type=bug
Issue History
2017-02-28 16:06SandrahuguetNew Issue
2017-02-28 16:06SandrahuguetAssigned To => Retail
2017-02-28 16:06SandrahuguetTriggers an Emergency Pack => No
2017-02-28 16:09SandrahuguetNote Added: 0094664
2017-02-28 16:12SandrahuguetRegression level => Production - QA Approved
2017-02-28 16:12SandrahuguetRegression introduced in release => RR16Q4
2017-02-28 16:16SandrahuguetPrioritynormal => urgent
2017-02-28 17:04SandrahuguetSummaryCharacteristics buttons are not shown in tree mode => Characteristics values are not shown in tree mode
2017-02-28 17:04SandrahuguetDescription Updatedbug_revision_view_page.php?rev_id=14699#r14699
2017-02-28 17:04SandrahuguetSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=14701#r14701
2017-03-08 14:22ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-03-08 14:22ranjith_qualiantech_comStatusnew => scheduled
2017-03-10 05:00ranjith_qualiantech_comRelationship addedrelated to 0035382
2017-03-15 13:00marvintmStatusscheduled => acknowledged
2017-03-15 13:00marvintmStatusacknowledged => scheduled
2017-03-17 12:13hgbotCheckin
2017-03-17 12:13hgbotNote Added: 0095372
2017-03-17 12:13hgbotCheckin
2017-03-17 12:13hgbotNote Added: 0095373
2017-03-17 12:13hgbotStatusscheduled => resolved
2017-03-17 12:13hgbotResolutionopen => fixed
2017-03-17 12:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0aea2c2f2ab69a3392e866df7df64a98729e0904 [^]
2017-03-24 13:26migueldejuanaNote Added: 0095556
2017-03-24 13:26migueldejuanaStatusresolved => new
2017-03-24 13:26migueldejuanaResolutionfixed => open
2017-03-27 07:06ranjith_qualiantech_comStatusnew => scheduled
2017-03-29 15:23hgbotCheckin
2017-03-29 15:23hgbotNote Added: 0095656
2017-03-29 15:23hgbotCheckin
2017-03-29 15:23hgbotNote Added: 0095657
2017-03-29 15:23ranjith_qualiantech_comStatusscheduled => resolved
2017-03-29 15:23ranjith_qualiantech_comResolutionopen => fixed
2017-03-29 17:15migueldejuanaNote Added: 0095665
2017-03-29 17:15migueldejuanaStatusresolved => new
2017-03-29 17:15migueldejuanaResolutionfixed => open
2017-03-29 17:15migueldejuanaFile Added: out-5-10.ogv
2017-03-30 11:40ranjith_qualiantech_comStatusnew => scheduled
2017-03-30 18:47hgbotCheckin
2017-03-30 18:47hgbotNote Added: 0095736
2017-03-30 18:47hgbotStatusscheduled => resolved
2017-03-30 18:47hgbotResolutionopen => fixed
2017-03-30 18:47hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0aea2c2f2ab69a3392e866df7df64a98729e0904 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eab8d7f56ff2885b64c405df209a0bdb3ba3ec76 [^]
2017-03-30 18:56hgbotCheckin
2017-03-30 18:56hgbotNote Added: 0095740
2017-03-31 08:39migueldejuanaReview Assigned To => migueldejuana
2017-03-31 08:39migueldejuanaStatusresolved => closed

Notes
(0094664)
Sandrahuguet   
2017-02-28 16:09   
Could be caused by https://issues.openbravo.com/view.php?id=33472 [^]
(0095372)
hgbot   
2017-03-17 12:13   
Repository: tools/automation/pi-mobile
Changeset: 7fccf7f3dc295c47b2900212481a5fc86d851695
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Mar 17 16:40:27 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/7fccf7f3dc295c47b2900212481a5fc86d851695 [^]

Verifies issue 35381 : Added automated test 'I35381_VerifyProductCharacteristicsTree'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/ProductCharacteristicsSearchProductSelectCharacteristic.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I35381_VerifyProductCharacteristicsTree.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I35381_VerifyProductCharacteristicsTree_HV.java
---
(0095373)
hgbot   
2017-03-17 12:13   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 0aea2c2f2ab69a3392e866df7df64a98729e0904
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Mar 17 16:42:04 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0aea2c2f2ab69a3392e866df7df64a98729e0904 [^]

Fixes issue 35381 : Added Tree level for Product Characteristics

* Refactored Code (Duplicate DAL queries replaced with childrenList)
* Removed Tree Node Query for Remote Mode

---
M src/org/openbravo/retail/posterminal/master/CharacteristicValue.java
M src/org/openbravo/retail/posterminal/master/CharacteristicValueProperties.java
M web/org.openbravo.retail.posterminal/js/components/modalproductcharacteristic.js
M web/org.openbravo.retail.posterminal/js/model/characteristicvalue.js
---
(0095556)
migueldejuana   
2017-03-24 13:26   
Create in sampledata new characteristic with several value levels to use it in tests
(0095656)
hgbot   
2017-03-29 15:23   
Repository: erp/pmods/org.openbravo.retail.sampledata
Changeset: 1fc2a19d0272c565341ada2a70511e8669c97ae9
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Mar 29 18:52:38 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/1fc2a19d0272c565341ada2a70511e8669c97ae9 [^]

Related to issue 35381: Added Data for Charateristics Tree

* Added Charateristics Tree Structure for Color
  Blue
     Dark Blue
        High Dark Blue
        Low Dark Blue
     Light Blue
     Royal Blue

* Associate Products with Color Charateristics

---
M referencedata/sampledata/The_White_Valley_Group/AD_TREENODE.xml
M referencedata/sampledata/The_White_Valley_Group/M_CH_VALUE.xml
M referencedata/sampledata/The_White_Valley_Group/M_PRODUCT_CH.xml
M referencedata/sampledata/The_White_Valley_Group/M_PRODUCT_CH_VALUE.xml
---
(0095657)
hgbot   
2017-03-29 15:23   
Repository: tools/automation/pi-mobile
Changeset: 228118216d7483e7f1f385d49cf53068f94360c5
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Mar 29 18:53:14 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/228118216d7483e7f1f385d49cf53068f94360c5 [^]

Verifies issue 35381 : Added automated test 'I35381_VerifyProductCharacteristicsTree'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I35381_VerifyProductCharacteristicsTree.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/ProductCharacteristicsSearchProductChangesCharacteristic.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/ProductCharacteristicsSearchProductSelectCharacteristic.java
R src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I35381_VerifyProductCharacteristicsTree_HV.java
---
(0095665)
migueldejuana   
2017-03-29 17:15   
See attached video.

After doing one filter using a "tree value", we can do another filter by below values of the selected value. Allowing that we get this 2 problems:

1. Second selected value doesn't appear in the label "Filtering by" but the filter is done.
2. Second selected value doesn't appear any more in the characteristic modal

Solution.

Do not allow to do a "second filter" in the same characteristic. This is what we do for regular characteristic values. If we select Capacity-->2L-4L and we we press Done, if we try to add different values for Capacity we are not able to do it.

Another solution is to fix mentioned 2 errors, but I would do above suggested solution.
(0095736)
hgbot   
2017-03-30 18:47   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: eab8d7f56ff2885b64c405df209a0bdb3ba3ec76
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Mar 30 22:16:59 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eab8d7f56ff2885b64c405df209a0bdb3ba3ec76 [^]

Fixes issue 35381 : Selections changes in Product Characteristics Tree level

* If Child(which also children) is selected and searched, then if we open the popup Children should not be shown for the selected child

---
M web/org.openbravo.retail.posterminal/js/components/modalproductcharacteristic.js
---
(0095740)
hgbot   
2017-03-30 18:56   
Repository: tools/automation/pi-mobile
Changeset: 97a503d6234e5462bf1d2f81b6e086aaefb61a45
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Mar 30 22:16:40 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/97a503d6234e5462bf1d2f81b6e086aaefb61a45 [^]

Verifies issue 35381 : Modified automated test 'I35381_VerifyProductCharacteristicsTree'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I35381_VerifyProductCharacteristicsTree.java
---