Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035256Retail ModulesDiscounts and Promotionspublic2017-02-14 10:432017-03-03 14:18
malsasua 
ranjith_qualiantech_com 
immediatemajoralways
closedfixed 
20Community Appliance
 
RR16Q4.2RR16Q4.2 
marvintm
No
0035256: 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 => RR16Q4.2
2017-02-20 12:41hgbotCheckin
2017-02-20 12:41hgbotNote Added: 0094463
2017-02-20 12:41hgbotStatusscheduled => resolved
2017-02-20 12:41hgbotResolutionopen => fixed
2017-02-20 12:41hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q4.2/org.openbravo.retail.posterminal/rev/a60a90f8c6e8454312af7a0cf2276867c27114cf [^]
2017-02-20 12:41hgbotCheckin
2017-02-20 12:41hgbotNote Added: 0094465
2017-03-03 14:18marvintmReview Assigned To => marvintm
2017-03-03 14:18marvintmStatusresolved => closed
2017-03-03 14:18marvintmFixed in Version => RR16Q4.2

Notes
(0094463)
hgbot   
2017-02-20 12:41   
Repository: retail/backports/3.0RR16Q4.2/org.openbravo.retail.posterminal
Changeset: a60a90f8c6e8454312af7a0cf2276867c27114cf
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Feb 20 16:59:53 2017 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR16Q4.2/org.openbravo.retail.posterminal/rev/a60a90f8c6e8454312af7a0cf2276867c27114cf [^]

Fixes issue 35256 : 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
---
(0094465)
hgbot   
2017-02-20 12:41   
Repository: retail/backports/3.0RR16Q4.2/pi-mobile
Changeset: da256231ac13e595818efb2a17a54aec06535291
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Feb 20 17:00:02 2017 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR16Q4.2/pi-mobile/rev/da256231ac13e595818efb2a17a54aec06535291 [^]

Verifies issue 35256 : Added automated test 'I35256_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/I35256_VerifyAssortmentDiscountProduct.java
---