Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035255Retail ModulesDiscounts and Promotionspublic2017-02-14 10:432017-03-15 14:12
malsasua 
ranjith_qualiantech_com 
immediatemajoralways
closedfixed 
20Community Appliance
 
RR17Q1RR17Q1 
marvintm
No
0035255: discount is not applied when some product is not included in assortment
when a discount is configured with "included products: Only those definded", and one of the products added to the tab "products" is not included in the store assortment, then the discount is not applied in the terminal
in POS: VBS-1
. new ticket
. add new line: bottle 1L -> 3 units
discount 3x2 is applied

in backoffice
. go to assortment window:
White Valley Group Product List
 . go to tab products:
 . delete record: "Plastic Bottle"

in POS - VBS-1 (refresh):
. new ticket
. add new line: bottle 1L -> 3 units
no discount is applied
No tags attached.
blocks defect 0035254 closed ranjith_qualiantech_com discount is not applied when some product is not included in assortment 
Issue History
2017-02-14 10:50ranjith_qualiantech_comTypedefect => backport
2017-02-14 10:50ranjith_qualiantech_comTarget Version => RR17Q1
2017-02-20 12:40hgbotCheckin
2017-02-20 12:40hgbotNote Added: 0094462
2017-02-20 12:40hgbotStatusscheduled => resolved
2017-02-20 12:40hgbotResolutionopen => fixed
2017-02-20 12:40hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.retail.posterminal/rev/aa37c56eb66eb743088d25c989b2b4ab964ca07d [^]
2017-02-20 12:41hgbotCheckin
2017-02-20 12:41hgbotNote Added: 0094464
2017-03-03 14:18marvintmReview Assigned To => marvintm
2017-03-03 14:18marvintmStatusresolved => closed
2017-03-03 14:18marvintmFixed in Version => RR17Q1
2017-03-15 14:12hgbotCheckin
2017-03-15 14:12hgbotNote Added: 0095043

Notes
(0094462)
hgbot   
2017-02-20 12:40   
Repository: retail/backports/3.0RR17Q1/org.openbravo.retail.posterminal
Changeset: aa37c56eb66eb743088d25c989b2b4ab964ca07d
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Feb 20 17:04:26 2017 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.retail.posterminal/rev/aa37c56eb66eb743088d25c989b2b4ab964ca07d [^]

Fixes issue 35255 : Discount should be listed in POS if any defined product is added under assortment

---
M src/org/openbravo/retail/posterminal/master/Category.java
M src/org/openbravo/retail/posterminal/master/Discount.java
M src/org/openbravo/retail/posterminal/master/Product.java
---
(0094464)
hgbot   
2017-02-20 12:41   
Repository: retail/backports/3.0RR17Q1/pi-mobile
Changeset: ba91efc44f29244e5fc5694ccab08a2f1262515c
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Feb 20 17:04:19 2017 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR17Q1/pi-mobile/rev/ba91efc44f29244e5fc5694ccab08a2f1262515c [^]

Verifies issue 35255 : Added automated test 'I35255_VerifyAssortmentDiscountProduct'

---
M src-test/org/openbravo/test/mobile/quarantine/pack/RAN/receipts/I32962_VerifyAssortmentDiscountProductII.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I35255_VerifyAssortmentDiscountProduct.java
---
(0095043)
hgbot   
2017-03-15 14:12   
Repository: tools/automation/pi-mobile
Changeset: ba91efc44f29244e5fc5694ccab08a2f1262515c
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Feb 20 17:04:19 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/ba91efc44f29244e5fc5694ccab08a2f1262515c [^]

Verifies issue 35255 : Added automated test 'I35255_VerifyAssortmentDiscountProduct'

---
M src-test/org/openbravo/test/mobile/quarantine/pack/RAN/receipts/I32962_VerifyAssortmentDiscountProductII.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I35255_VerifyAssortmentDiscountProduct.java
---