Openbravo Issue Tracking System - Retail Modules
View Issue Details
0027251Retail ModulesDiscounts and Promotionspublic2014-07-31 18:502023-02-22 05:55
jecharri 
marvintm 
urgentmajoralways
closedfixed 
5
 
RR14Q4RR14Q4 
migueldejuana
No
0027251: If you mix the discounts and vouchers the result is not the expected one
If you mix the discounts and vouchers the result is not the expected one because the voucher is going to discount the original amount, the amount without discount.
-Install discounts and promotions and configure a voucher
For example:
-define a product which price is 50
-create a voucher that includes 4 products and price 200

-create a price adjustment of 20% for the created product

Go to Web POS
-sale the voucher and pay
-include a product in the ticket and verify that 20% discount is applied
-pay with the previous voucher

Verify that it is inserting a line with -50€, so the total is -10
In my opnion, It should insert a line with the current product price
No tags attached.
png voucher.png (148,935) 2014-07-31 18:50
https://issues.openbravo.com/file_download.php?file_id=7113&type=bug
png
Issue History
2014-07-31 18:50jecharriNew Issue
2014-07-31 18:50jecharriAssigned To => marvintm
2014-07-31 18:50jecharriFile Added: voucher.png
2014-07-31 18:50jecharriResolution time => 1409868000
2014-07-31 18:50jecharriTriggers an Emergency Pack => No
2014-09-09 23:42hgbotCheckin
2014-09-09 23:42hgbotNote Added: 0070062
2014-09-09 23:42hgbotStatusnew => resolved
2014-09-09 23:42hgbotResolutionopen => fixed
2014-09-09 23:42hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/1cdd2064d9cc83ebc57f26742d2a3ddc12da1236 [^]
2014-09-29 17:17migueldejuanaReview Assigned To => migueldejuana
2014-09-29 17:17migueldejuanaNote Added: 0070501
2014-09-29 17:17migueldejuanaStatusresolved => closed
2014-09-29 17:17migueldejuanaFixed in Version => RR14Q4
2023-02-22 05:55thielmikaylaNote Added: 0146849
2023-07-05 11:16ngarciaNote Deleted: 0146849

Notes
(0070062)
hgbot   
2014-09-09 23:42   
Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: 1cdd2064d9cc83ebc57f26742d2a3ddc12da1236
Author: Salvador Zapata <salvador.zapata <at> gmail.com>
Date: Tue Sep 09 23:41:27 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/1cdd2064d9cc83ebc57f26742d2a3ddc12da1236 [^]

Fixed issue 27251: Added promotions to the price when paying with voucher

---
M web/org.openbravo.retail.giftcards/js/model/GiftCardUtils.js
---
(0070501)
migueldejuana   
2014-09-29 17:17   
Tested and reviewed in 130ef2db3366