Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037229Retail ModulesDiscounts and Promotionspublic2017-11-06 12:122018-01-22 20:57
malsasua 
jorge-garcia 
normalmajorhave not tried
closedfixed 
5
 
RR18Q1 
marvintm
No
0037229: Incremental refresh is not working deactivating products in Discount & Promotions window
when a product is deactivated in the tab "Product" of Discount & Promotions window, and incremental refresh process is executed, this change is not sent to the terminal, and the discount is applied although the product is deactivated
terminal VBS:
1. create new ticket
2. add product: "Minilintern solar dynamo"
Minilinter Disc 5% discount is applied (it is OK)

backoffice:
3. go to discount & promotions window
 . record: Minilinter Disc 5%
 . tab: product
 . record: Minilintern solar dynamo
   . deactivate record

terminal:
. delete previous ticket (created in step 1)
. refresh browser (incremental refresh is executed)
. create new ticket
. add product: "Minilintern solar dynamo"
Minilinter Disc 5% discount is applied (it is Wrong)
No tags attached.
Issue History
2017-11-06 12:12malsasuaNew Issue
2017-11-06 12:12malsasuaAssigned To => Retail
2017-11-06 12:12malsasuaResolution time => 1510182000
2017-11-06 12:12malsasuaTriggers an Emergency Pack => No
2017-11-06 17:34jorge-garciaStatusnew => scheduled
2017-11-06 17:34jorge-garciaAssigned ToRetail => jorge-garcia
2017-11-07 08:41hgbotCheckin
2017-11-07 08:41hgbotNote Added: 0100297
2017-11-07 08:41hgbotStatusscheduled => resolved
2017-11-07 08:41hgbotResolutionopen => fixed
2017-11-07 08:41hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/dd9ca7a11e3b12504197c9304c47b8b916a2c073 [^]
2017-11-07 17:38marvintmReview Assigned To => marvintm
2017-11-07 17:38marvintmStatusresolved => closed
2017-11-07 17:38marvintmFixed in Version => RR18Q1
2017-11-13 16:31hgbotCheckin
2017-11-13 16:31hgbotNote Added: 0100495
2018-01-22 20:57hgbotCheckin
2018-01-22 20:57hgbotNote Added: 0101872

Notes
(0100297)
hgbot   
2017-11-07 08:41   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: dd9ca7a11e3b12504197c9304c47b8b916a2c073
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Nov 07 08:40:16 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/dd9ca7a11e3b12504197c9304c47b8b916a2c073 [^]

Fixed issue 37229: Incremental refresh is not working deactivating products
in Discount & Promotions window

During the full refresh, we can avoid those records that are deactivated in
Product sub-tab from Discount and Promotion window. During an incremental
refresh, we want to search for all records (deactivated or not) in product
sub-tab.

Implement logic to add Product filter from Discount and Promotions window
only during a full refresh.

---
M src/org/openbravo/retail/posterminal/master/Discount.java
---
(0100495)
hgbot   
2017-11-13 16:31   
Repository: tools/automation/pi-mobile
Changeset: 3ae901a047e7b4647e0f3be6d2281ad21b44feaf
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Mon Nov 13 10:31:16 2017 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/3ae901a047e7b4647e0f3be6d2281ad21b44feaf [^]

Verifies issue 37229: Incremental refresh is not working deactivating products
in Discount & Promotions window

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I37229_VerifyIncrementalRefreshDeactivatingProducts.java
---
(0101872)
hgbot   
2018-01-22 20:57   
Repository: tools/automation/pi-mobile
Changeset: 4edb11d7d6322c7494924d28311e0c1b9f06faf0
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Tue Jan 16 14:05:09 2018 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/4edb11d7d6322c7494924d28311e0c1b9f06faf0 [^]

Test refactor for issue 37229: Changed logic to better fit the steps to reproduce
of the issue

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