Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035816Retail ModulesGift cards and gift voucherspublic2017-04-22 02:222017-10-10 11:24
letcharren 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
RR17Q1 
RR17Q3 
marvintm
Production - Confirmed Stable
2016-12-14
RR17Q1
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8435373ee62da7f6c0d667ba227e1e37c10f87e9 [^]
No
0035816: Voucher is not grouped
When redeeming a voucher it splits into the number number of lines of the quantity of the stocked product linked to the voucher
product.

This worked fine on RR16Q2.1 and on RR16Q4.2 and RR17Q1 did not work
1- Enter to backoffice
2- Enter to product window and create a Gift Voucher, in Gift Voucher Summary create a record for a product for quantity=10
3- Enter to WebPos
4- Sell a voucher and pay it
5- Sell the product that was added to the voucher in Gift voucher summary, Put an quantity greater than 1
 and pay it with the voucher
6- See that the payments made by the voucher are not grouped
No tags attached.
depends on backport 0036372RR17Q2.2 closed ranjith_qualiantech_com Voucher is not grouped 
Issue History
2017-04-22 02:22letcharrenNew Issue
2017-04-22 02:22letcharrenAssigned To => Retail
2017-04-22 02:22letcharrenResolution time => 1507759200
2017-04-22 02:22letcharrenRegression level => Production - Confirmed Stable
2017-04-22 02:22letcharrenTriggers an Emergency Pack => No
2017-04-22 09:38egoitzResolution time1507759200 => 1492984800
2017-04-22 09:40egoitzIssue Monitored: egoitz
2017-04-24 18:50marvintmStatusnew => scheduled
2017-04-24 18:50marvintmAssigned ToRetail => ranjith_qualiantech_com
2017-04-25 11:38hgbotCheckin
2017-04-25 11:38hgbotNote Added: 0096154
2017-04-25 14:22hgbotCheckin
2017-04-25 14:22hgbotNote Added: 0096156
2017-04-25 14:22hgbotCheckin
2017-04-25 14:22hgbotNote Added: 0096157
2017-04-25 14:22hgbotStatusscheduled => resolved
2017-04-25 14:22hgbotResolutionopen => fixed
2017-04-25 14:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/57a03874aff66ce5c4e59c55e3fee578e9a1f310 [^]
2017-04-28 12:40marvintmReview Assigned To => marvintm
2017-04-28 12:40marvintmStatusresolved => closed
2017-04-28 12:40marvintmFixed in Version => RR17Q3
2017-06-29 10:21ngarciaStatusclosed => new
2017-06-29 10:21ngarciaResolutionfixed => open
2017-06-29 10:21ngarciaFixed in VersionRR17Q3 =>
2017-06-29 10:22ngarciaStatusnew => scheduled
2017-06-29 10:22ngarciaStatusscheduled => resolved
2017-06-29 10:22ngarciaFixed in Version => RR17Q3
2017-06-29 10:22ngarciaResolutionopen => fixed
2017-06-29 10:22ngarciaStatusresolved => closed
2017-10-10 11:24marvintmRegression date => 2016-12-14
2017-10-10 11:24marvintmRegression introduced in release => RR17Q1
2017-10-10 11:24marvintmRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8435373ee62da7f6c0d667ba227e1e37c10f87e9 [^]

Notes
(0096154)
hgbot   
2017-04-25 11:38   
Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: 8e96cd9d124c260c41c7dbaaee6df1560fc7e98c
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Apr 25 15:07:39 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/8e96cd9d124c260c41c7dbaaee6df1560fc7e98c [^]

Related to issue 35816 : Modified Giftcard Product attributes to avoid spliting in receipt

* "avoidSplitProduct" attr is added to product, So it will splited while adding to receipt
* Removed "pendingAddProduct", as we are not use this anymore in posterminal while adding product

---
M web/org.openbravo.retail.giftcards/js/model/GiftCardUtils.js
---
(0096156)
hgbot   
2017-04-25 14:22   
Repository: tools/automation/pi-mobile
Changeset: 2ee9297b42c8b13bc2c75fe8fdb8b6b114882d36
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Apr 25 17:51:31 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/2ee9297b42c8b13bc2c75fe8fdb8b6b114882d36 [^]

Verifies issue 35816 : Added automated test 'I35816_VerfiyGiftVoucherWithProductMultiQty'

---
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/giftcards/I35816_VerfiyGiftVoucherWithProductMultiQty.java
---
(0096157)
hgbot   
2017-04-25 14:22   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 57a03874aff66ce5c4e59c55e3fee578e9a1f310
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Apr 25 17:51:42 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/57a03874aff66ce5c4e59c55e3fee578e9a1f310 [^]

Fixed issue 35816 : Added Validation for Non Grouped Product

* New attributes "avoidSplitProduct" added to product model
* if "avoidSplitProduct" is true, then single line will created for all qty, else line will be created for each qty

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---