Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036277Retail ModulesWeb POSpublic2017-06-19 17:522018-01-22 20:57
Sandrahuguet 
ebecerra 
normalmajorhave not tried
closedfixed 
5
 
RR17Q3 
Sandrahuguet
No
0036277: Best Sellers category will be shown always in Category Tree
Best Sellers category will be shown always in Category Tree. Now only it is shown when there are bestsellers, this query has very poor performance
N/A
Performance
Issue History
2017-06-19 17:52SandrahuguetNew Issue
2017-06-19 17:52SandrahuguetAssigned To => Retail
2017-06-19 17:52SandrahuguetTriggers an Emergency Pack => No
2017-06-19 17:53SandrahuguetTag Attached: Performance
2017-06-20 18:24SandrahuguetResolution time => 1499724000
2017-06-22 13:33ebecerraAssigned ToRetail => ebecerra
2017-06-27 11:57hgbotCheckin
2017-06-27 11:57hgbotNote Added: 0097704
2017-06-28 09:10hgbotCheckin
2017-06-28 09:10hgbotNote Added: 0097731
2017-06-28 09:10hgbotStatusnew => resolved
2017-06-28 09:10hgbotResolutionopen => fixed
2017-06-28 09:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/528f8554d24177a3375664b03a10e6dacfa0f5ea [^]
2017-06-29 11:11SandrahuguetReview Assigned To => Sandrahuguet
2017-06-29 12:37SandrahuguetNote Added: 0097760
2017-06-29 12:43SandrahuguetNote Added: 0097761
2017-06-29 12:43SandrahuguetStatusresolved => closed
2017-06-29 12:43SandrahuguetFixed in Version => RR17Q3
2017-10-23 22:47hgbotCheckin
2017-10-23 22:47hgbotNote Added: 0100008
2018-01-22 20:57hgbotCheckin
2018-01-22 20:57hgbotNote Added: 0101871

Notes
(0097704)
hgbot   
2017-06-27 11:57   
Repository: erp/pmods/org.openbravo.mobile.procurement
Changeset: dfafa25b80e84fb31a9b447af8808e26db849872
Author: Eduardo Becerra <ebec70 <at> yahoo.com>
Date: Tue Jun 27 11:56:59 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.procurement/rev/dfafa25b80e84fb31a9b447af8808e26db849872 [^]

Related to issue 36277: Add BestSeller icons

---
A web/org.openbravo.mobile.procurement/img/iconBestSellers.png
A web/org.openbravo.mobile.procurement/img/iconBestsellerSmall.png
---
(0097731)
hgbot   
2017-06-28 09:10   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 528f8554d24177a3375664b03a10e6dacfa0f5ea
Author: Eduardo Becerra <ebec70 <at> yahoo.com>
Date: Mon Jun 26 12:07:52 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/528f8554d24177a3375664b03a10e6dacfa0f5ea [^]

Fixed issue 36277: Always show BestSeller category

---
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-product-browser.js
---
(0097760)
Sandrahuguet   
2017-06-29 12:37   
Test plan 1:
Log in WebPOS using CTST1 terminal
Open category tree
Notice that BestSellers category is shown
Filter by bestseller, no products found

Test plan 2:
Log in the back office
Go to Assortment and select CTS - Assortment
Select "Basecamp lantern with legs" and "Battery charger" check bestseller

Log in WebPOS using CTST1 terminal
Open category tree
Notice that BestSellers category is shown

Test plan 3:
Install: https://code.openbravo.com/erp/pmods/org.openbravo.retail.bestsellers/ [^]
Log in the back office
Go to POS Terminal Type: PS POS Terminal Type, and check has bestsellers
Log in WebPOS using CTST1 terminal
Open category tree
Notice that BestSellers category is shown
Filter by bestseller, no products found

Test plan 4:
Install: https://code.openbravo.com/erp/pmods/org.openbravo.retail.bestsellers/ [^]
Log in the back office
Go to POS Terminal Type: PS POS Terminal Type, and check has bestsellers
Navigate to Best Sellers tab
Select "Down sleeping bag 700" and "Expedition tent 4 season 2 person" check bestseller

Log in WebPOS using CTST1 terminal
Open category tree
Notice that BestSellers category is shown
(0097761)
Sandrahuguet   
2017-06-29 12:43   
reviewed and tested
(0100008)
hgbot   
2017-10-23 22:47   
Repository: tools/automation/pi-mobile
Changeset: f07eaf569c5c7f6e614b25c1cb63fb901d79eb87
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Mon Oct 23 16:34:45 2017 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/f07eaf569c5c7f6e614b25c1cb63fb901d79eb87 [^]

Verifies issue 36277: Added automated test to check that Best Sellers category is
always shown.

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/products/I36277_VerifyBestSellerCategoryIsAlwaysShown.java
---
(0101871)
hgbot   
2018-01-22 20:57   
Repository: tools/automation/pi-mobile
Changeset: 881ad007f312b454f84f1c422428bbfe67cab772
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Tue Jan 16 14:02:47 2018 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/881ad007f312b454f84f1c422428bbfe67cab772 [^]

Test refactor for issue 36277: Changes in database are made in beforeWithReload
and afterWithReload classes.

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/products/I36277_VerifyBestSellerCategoryIsAlwaysShown.java
---