Openbravo Issue Tracking System - Retail Modules
View Issue Details
0057508Retail ModulesDiscounts and Promotionspublic2024-12-19 15:462024-12-19 15:48
ffourcade 
Retail 
normalmajoralways
newopen 
5
pi 
 
No
0057508: When Cancel and Replace a paid order with a discount coupon, the coupon is not applied to the new order.
Current behaviour:
Having a discount of type 'Discount per total amount' that uses coupon codes configured to be used only 1 time, when we cancel and replace a closed order that has a discount coupon applied, the coupon is removed and not applied to the new order.

Expected behaviour:
When cancel and replace the order (i.e. to change the business partner), the discount should be automatically applied to the new order, or the coupon should be set as available to be applied again to the new order manually.
1- In back office, configure a discount and promotion of type 'Discount per total amount' with any amount, Uses coupon codes = 'Y' and is OTF Coupon = 'Y' (make sure it is set as active)
2- in the Coupon tab, create a new coupon with number of uses = 'N Uses' and Number of uses limit = 1
3- In the web pos, make a sale of any product and apply the coupon.
4- In the web pos, open the receipt (note that the discount is still applied)
5- In the web pos menu, click the Cancel and Replace option.
6- Note that the discount is removed from the new order and it is not possible to apply it again.
No tags attached.
? Open_receipt_with_coupon_applied.webp (57,166) 2024-12-19 15:47
https://issues.openbravo.com/file_download.php?file_id=20662&type=bug
? Impossible_to_apply_coupon_to_new_order.webp (36,896) 2024-12-19 15:47
https://issues.openbravo.com/file_download.php?file_id=20663&type=bug
? Coupon_disappears_when_cancelAndReplace.webp (58,444) 2024-12-19 15:48
https://issues.openbravo.com/file_download.php?file_id=20664&type=bug
Issue History
2024-12-19 15:46ffourcadeNew Issue
2024-12-19 15:46ffourcadeAssigned To => Retail
2024-12-19 15:46ffourcadeTriggers an Emergency Pack => No
2024-12-19 15:47ffourcadeFile Added: Open_receipt_with_coupon_applied.webp
2024-12-19 15:47ffourcadeFile Added: Impossible_to_apply_coupon_to_new_order.webp
2024-12-19 15:48ffourcadeFile Added: Coupon_disappears_when_cancelAndReplace.webp

There are no notes attached to this issue.