Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030795Retail ModulesWeb POSpublic2015-09-08 14:102015-09-30 11:58
marvintm 
fmolina 
normalminorhave not tried
closedfixed 
5
 
RR15Q4 
guilleaer
No
0030795: Product characteristics value popup should be smarter
Currently, when the SEARCH functionality in the Web POS is used to filter first by a product name, the Product characteristics filter buttons are automatically updated so that if the selected products do not support any characteristic, this characteristic is not shown. This is very convenient for users, because it basically prevents them from filtering by an incorrect characteristic.

However, this same filtering is not done in the characteristic values popup which is shown when one of these buttons is clicked. This means that this popup will show all values, regardless of whether the selected products support these values or not.
- In the Web POS, go to SEARCH
- Type "GPS". Two products will be selected.
- Click on the "Dimensions" filter button
- Click on the first option (11x9x7 cm)
- Verify that the two GPS products disappear, as this value is not correct for them.

The query which picks the possible values should be smarter and also filter by the selected products.
No tags attached.
Issue History
2015-09-08 14:10marvintmNew Issue
2015-09-08 14:10marvintmAssigned To => Retail
2015-09-08 14:10marvintmTriggers an Emergency Pack => No
2015-09-08 14:16marvintmDescription Updatedbug_revision_view_page.php?rev_id=9392#r9392
2015-09-08 14:22fmolinaAssigned ToRetail => fmolina
2015-09-08 14:22fmolinaStatusnew => acknowledged
2015-09-08 14:57fmolinaStatusacknowledged => scheduled
2015-09-19 14:29hgbotCheckin
2015-09-19 14:29hgbotNote Added: 0080513
2015-09-19 14:29hgbotStatusscheduled => resolved
2015-09-19 14:29hgbotResolutionopen => fixed
2015-09-19 14:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/096c32fd2b54fe45284cee17bcfecff9495fb7a1 [^]
2015-09-21 17:45OrekariaNote Added: 0080543
2015-09-21 17:45OrekariaStatusresolved => new
2015-09-21 17:45OrekariaResolutionfixed => open
2015-09-21 17:51OrekariaNote Edited: 0080543bug_revision_view_page.php?bugnote_id=0080543#r9464
2015-09-21 19:04hgbotCheckin
2015-09-21 19:04hgbotNote Added: 0080548
2015-09-21 19:04hgbotCheckin
2015-09-21 19:04hgbotNote Added: 0080549
2015-09-23 01:12hgbotCheckin
2015-09-23 01:12hgbotNote Added: 0080567
2015-09-23 01:12hgbotStatusnew => resolved
2015-09-23 01:12hgbotResolutionopen => fixed
2015-09-23 01:12hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/096c32fd2b54fe45284cee17bcfecff9495fb7a1 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/659e0537bc669bd281916da367601a17daaf187f [^]
2015-09-25 11:02OrekariaReview Assigned To => guilleaer
2015-09-30 11:58guilleaerNote Added: 0080741
2015-09-30 11:58guilleaerStatusresolved => closed
2015-09-30 11:58guilleaerFixed in Version => RR15Q4

Notes
(0080513)
hgbot   
2015-09-19 14:29   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 096c32fd2b54fe45284cee17bcfecff9495fb7a1
Author: Facundo Molina <fmolina <at> koodu.es>
Date: Sat Sep 19 09:28:34 2015 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/096c32fd2b54fe45284cee17bcfecff9495fb7a1 [^]

Fixed issue 30795: Smarter product characteristic popup. Show values according to the product searched

---
M web/org.openbravo.retail.posterminal/js/components/modalproductbrand.js
M web/org.openbravo.retail.posterminal/js/components/modalproductcharacteristic.js
---
(0080543)
Orekaria   
2015-09-21 17:45   
(edited on: 2015-09-21 17:51)
tap on the search button
< do not write anything in the search textbox >
tap on any characteristic (e.g: battery life)
verify that a js error is shown in the console and the popup does not contain the correct information

(0080548)
hgbot   
2015-09-21 19:04   
Repository: tools/automation/pi-mobile
Changeset: 21a6a1606b5724c344a8721907eecdc970819dc6
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Mon Sep 21 18:34:11 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/21a6a1606b5724c344a8721907eecdc970819dc6 [^]

Related to issue 30795: Added the 'ProductCharacteristicsSearchProductSelectCharacteristic' test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/ProductCharacteristicsSearchProductSelectCharacteristic.java
---
(0080549)
hgbot   
2015-09-21 19:04   
Repository: tools/automation/pi-mobile
Changeset: a8e9c892a037c41f45696ea09635176ec4631111
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Mon Sep 21 18:34:33 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/a8e9c892a037c41f45696ea09635176ec4631111 [^]

Verifies issue 30795: Added the 'I30795_EmptySearchTextBox' test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I30795_EmptySearchTextBox.java
---
(0080567)
hgbot   
2015-09-23 01:12   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 659e0537bc669bd281916da367601a17daaf187f
Author: Facundo Molina <fmolina <at> koodu.es>
Date: Tue Sep 22 20:12:11 2015 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/659e0537bc669bd281916da367601a17daaf187f [^]

Fixed issue 30795: js error when press product characteristic without products in search

---
M web/org.openbravo.retail.posterminal/js/components/modalproductbrand.js
M web/org.openbravo.retail.posterminal/js/components/modalproductcharacteristic.js
---
(0080741)
guilleaer   
2015-09-30 11:58   
Code reviewed and tested