Openbravo Issue Tracking System - Retail Modules
View Issue Details
0023471Retail ModulesGift cards and gift voucherspublic2013-04-02 12:192013-05-03 10:32
caristu 
guilleaer 
highminoralways
closedfixed 
5
 
RMP22 
marvintm
No
0023471: Error using discounts when paying with gift vouchers
If we apply a discount to a gift voucher, the discount is also applied when using that gift voucher for paying a product. (See attachment)

1) In the backend, create a new product, for example service Y, assign a price of 25 €.
2) Create a new gift voucher (voucher X)(http://wiki.openbravo.com/wiki/Retail:Gift_Cards_and_Gift_Vouchers [^]) with a price of 50€ and in the "gift voucher summary" tab, create a new record with service Y as product and quantity = 2
3) In the [Promotions and Discounts] window create a Fixed Percentage Discount of 20% for voucher X
4) In WebPOS, buy one voucher X for a client. The system correctly applies a 20% discount.
5) Buy one unit of service Y and use voucher X to pay it. The system generates one line with negative price -25 € but also adds an extra line of 20% discount (-5 €). The result is that the customer has to pay 5 €, but the result should be that the customer must not pay anything.
No tags attached.
png descuentoBono.png (34,713) 2013-04-02 12:52
https://issues.openbravo.com/file_download.php?file_id=6058&type=bug
png
Issue History
2013-04-02 12:19caristuNew Issue
2013-04-02 12:19caristuAssigned To => adrianromero
2013-04-02 12:19caristuResolution time => 1365717600
2013-04-02 12:19caristuAssigned Toadrianromero => marvintm
2013-04-02 12:19caristuIssue Monitored: networkb
2013-04-02 12:22guilleaerAssigned Tomarvintm => guilleaer
2013-04-02 12:52caristuFile Added: descuentoBono.png
2013-04-10 19:18caristuResolution time1365717600 => 1369173600
2013-04-10 19:18caristuPriorityurgent => high
2013-04-10 19:18caristuSeveritymajor => minor
2013-04-24 11:25hgbotCheckin
2013-04-24 11:25hgbotNote Added: 0058168
2013-04-24 11:26hgbotCheckin
2013-04-24 11:26hgbotNote Added: 0058169
2013-04-24 11:26hgbotStatusnew => resolved
2013-04-24 11:26hgbotResolutionopen => fixed
2013-04-24 11:26hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/445800abd404b717ca385ad2896be606ba3bb675 [^]
2013-04-26 11:49marvintmReview Assigned To => marvintm
2013-04-26 11:49marvintmStatusresolved => closed
2013-04-26 11:49marvintmFixed in Version => RMP22
2013-05-02 16:17hgbotCheckin
2013-05-02 16:17hgbotNote Added: 0058420
2013-05-02 16:17hgbotStatusclosed => resolved
2013-05-02 16:17hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/445800abd404b717ca385ad2896be606ba3bb675 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.ch/rev/445800abd404b717ca385ad2896be606ba3bb675 [^]
2013-05-03 10:32marvintmStatusresolved => closed

Notes
(0058168)
hgbot   
2013-04-24 11:25   
Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: 7caf4b371ed669b2df3e30efe1c8ea25b18775be
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Wed Apr 24 11:24:53 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/7caf4b371ed669b2df3e30efe1c8ea25b18775be [^]

related to issue 23471: When a gift card/ voucher is added to the ticket to pay, promotions are not applied

---
M web/org.openbravo.retail.giftcards/js/model/GiftCardUtils.js
---
(0058169)
hgbot   
2013-04-24 11:26   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 445800abd404b717ca385ad2896be606ba3bb675
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Wed Apr 24 11:21:59 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/445800abd404b717ca385ad2896be606ba3bb675 [^]

fixed issue 23471: products can define a property to skip promotions engine

---
M web/org.openbravo.retail.posterminal/js/model/executor.js
---
(0058420)
hgbot   
2013-05-02 16:17   
Repository: erp/pmods/org.openbravo.retail.posterminal.ch
Changeset: 445800abd404b717ca385ad2896be606ba3bb675
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Wed Apr 24 11:21:59 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.ch/rev/445800abd404b717ca385ad2896be606ba3bb675 [^]

fixed issue 23471: products can define a property to skip promotions engine

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