Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035254Retail ModulesDiscounts and Promotionspublic2017-02-14 10:432017-06-05 10:04
malsasua 
ranjith_qualiantech_com 
immediatemajoralways
closedfixed 
20Community Appliance
 
RR17Q2 
marvintm
2016-05-27
RR16Q4.1
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2d78f3791e47c42fd0f37933685a9726f7244fbd [^]
No
0035254: 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.
depends on backport 0035255RR17Q1 closed ranjith_qualiantech_com discount is not applied when some product is not included in assortment 
depends on backport 0035256RR16Q4.2 closed ranjith_qualiantech_com discount is not applied when some product is not included in assortment 
caused by defect 0032962 closed mario_castello [SERQA 1095] Promotions are shown although their products are not included in the assorment 
causes defect 0036160 closed ranjith_qualiantech_com Discounts are not applied when a product is not included in the store assortment 
Issue History
2017-02-14 10:43malsasuaNew Issue
2017-02-14 10:43malsasuaAssigned To => Retail
2017-02-14 10:43malsasuaResolution time => 1487286000
2017-02-14 10:43malsasuaTriggers an Emergency Pack => No
2017-02-14 10:50ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-02-14 10:50ranjith_qualiantech_comStatusnew => scheduled
2017-02-14 10:53ranjith_qualiantech_comRelationship addedcaused by 0032962
2017-02-14 10:53malsasuaRegression level => Production - Confirmed Stable
2017-02-14 10:54ranjith_qualiantech_comRegression levelProduction - Confirmed Stable =>
2017-02-14 10:54ranjith_qualiantech_comRegression date => 2016-05-27
2017-02-14 10:54ranjith_qualiantech_comRegression introduced in release => RR16Q4.1
2017-02-14 10:54ranjith_qualiantech_comRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2d78f3791e47c42fd0f37933685a9726f7244fbd [^]
2017-02-17 07:52hgbotCheckin
2017-02-17 07:52hgbotNote Added: 0094434
2017-02-17 07:52hgbotCheckin
2017-02-17 07:52hgbotNote Added: 0094435
2017-02-17 07:52hgbotStatusscheduled => resolved
2017-02-17 07:52hgbotResolutionopen => fixed
2017-02-17 07:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eb6b4b84a3416e104ee4aa2f2704ecaa732cc084 [^]
2017-02-20 11:26marvintmReview Assigned To => marvintm
2017-02-20 11:26marvintmStatusresolved => closed
2017-02-20 11:26marvintmFixed in Version => RR17Q2
2017-06-05 10:04malsasuaRelationship addedrelated to 0036160
2017-06-26 10:52dmitry_mezentsevRelationship replacedcauses 0036160

Notes
(0094434)
hgbot   
2017-02-17 07:52   
Repository: tools/automation/pi-mobile
Changeset: 3a77db43c150a3a005c2104bb7b73c2b0f3221ee
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Feb 17 12:21:54 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/3a77db43c150a3a005c2104bb7b73c2b0f3221ee [^]

Verifies issue 35254 : Added automated test 'I35254_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/I35254_VerifyAssortmentDiscountProduct.java
---
(0094435)
hgbot   
2017-02-17 07:52   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: eb6b4b84a3416e104ee4aa2f2704ecaa732cc084
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Feb 17 12:21:45 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eb6b4b84a3416e104ee4aa2f2704ecaa732cc084 [^]

Fixes issue 35254 : 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
---