Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033201Retail ModulesDiscounts and Promotionspublic2016-06-09 09:432017-08-09 14:23
aaroncalero 
rqueralta 
normalmajoralways
closedfixed 
5
 
RR17Q4 
jorge-garcia
No
0033201: Pack discounts are not correctly applied when combined with manual promotions
When the same line in web pos combines two packs and a manual discount, packs are not correctly applied and one of the packs is missing.
Login in web pos (e.g. https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^]) and create a new ticket.
Add a Down sleeping bag 500
Go to the Menu > Receipt Discounts and add a 5% discount to the line.
Add a Camping Pack. Now the first line has 2 discounts applied, a 5% discount and the pack discount.
Add a Camping Pack Plus.
Verify that the Camping Pack discount has disappeared from the first line.
No tags attached.
Issue History
2016-06-09 09:43aaroncaleroNew Issue
2016-06-09 09:43aaroncaleroAssigned To => Retail
2016-06-09 09:43aaroncaleroTriggers an Emergency Pack => No
2016-06-09 10:20marvintmStatusnew => acknowledged
2016-08-12 12:45migueldejuanaAssigned ToRetail => jorge-garcia
2016-09-26 10:37shivum039Assigned Tojorge-garcia => shivum039
2016-09-26 10:37shivum039Statusacknowledged => scheduled
2016-09-27 11:37jorge-garciaAssigned Toshivum039 => Retail
2016-12-22 09:55ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-01-04 06:54ranjith_qualiantech_comAssigned Toranjith_qualiantech_com => Retail
2017-01-04 06:54ranjith_qualiantech_comStatusscheduled => acknowledged
2017-06-07 16:17rqueraltaAssigned ToRetail => rqueralta
2017-06-07 16:19rqueraltaStatusacknowledged => scheduled
2017-07-17 21:47hgbotCheckin
2017-07-17 21:47hgbotNote Added: 0098106
2017-07-17 21:47hgbotStatusscheduled => resolved
2017-07-17 21:47hgbotResolutionopen => fixed
2017-07-17 21:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/617d8629433d7c7361d248a7e504d82a8cded392 [^]
2017-07-17 22:00hgbotCheckin
2017-07-17 22:00hgbotNote Added: 0098109
2017-08-09 12:37jorge-garciaReview Assigned To => jorge-garcia
2017-08-09 14:23jorge-garciaNote Added: 0098455
2017-08-09 14:23jorge-garciaStatusresolved => closed
2017-08-09 14:23jorge-garciaFixed in Version => RR17Q4

Notes
(0098106)
hgbot   
2017-07-17 21:47   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 617d8629433d7c7361d248a7e504d82a8cded392
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Mon Jun 12 16:35:27 2017 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/617d8629433d7c7361d248a7e504d82a8cded392 [^]

Fixed issue 33201: Pack discounts are not correctly applied when combined with
manual promotions

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0098109)
hgbot   
2017-07-17 22:00   
Repository: tools/automation/pi-mobile
Changeset: e13e3b9bb1fcf7a18be4ad822519957ee2dfe12d
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Wed Jun 14 15:14:17 2017 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/e13e3b9bb1fcf7a18be4ad822519957ee2dfe12d [^]

Verifies issue 33201: Pack discounts are not correctly applied when combined
with manual promotions

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I33201_VerifyPackCombinedWithManualPromotions.java
---
(0098455)
jorge-garcia   
2017-08-09 14:23   
Reviewed and tested