Openbravo Issue Tracking System - POS2
View Issue Details
0055280POS2POSpublic2024-04-22 15:282024-04-22 16:14
andre_montenegro 
Retail 
normalminoralways
closedduplicate 
5
 
 
No
0055280: [24Q2] Coupons marked as Single-Use allows multiple usages
Users can apply the 'Single-Use' coupon discount to two separate open tickets, which may be considered acceptable if tickets are not paid yet.

However, after paying for the first ticket with the coupon applied, it is possible to pay the second one with the same coupon applied, allowing the single coupon to be used twice.

IMPORTANT: to reproduce this error, notice that the coupon must be already applied to more than one opened ticket before paying them.
ERP Config
- Login ERP as user: Openbravo / Pass: openbravo
- Go to "Discounts and Promotions" window
- Edit "2 x 1 - Ski Touring" discount, check "Use Coupon codes" & Save
- Click on "Coupon" Tab for this discount
- Click Ctrl + D to create new record → Specify the following details:
   - Coupon Code: 1234
   - Number of Uses: N Uses
   - Number of Uses Limit: 1
- Click Ctrl + S to save the discount


POS steps
- Log in to POS using
  - User: Vallblanca
  - Password: openbravo.
- Create a ticket with these items:
  - Ski touring bindings
  - Ski touring board Dyn
- Click the three vertical dots button and select "Coupons"
- Choose "Redeem Coupon" and enter "1234" and click "Redeem". The coupon should be applied.
- Click "Back"
- Click "New Order"
- Add the same items as previous ticket
- Click the three vertical dots button and select "Coupons"
- Choose "Redeem Coupon" and enter "1234" and click "Redeem". The coupon should be applied.
- Click "Back"
- Pay the current ticket, ticket is correctly paid (OK).
- Pay the previous ticket, ticket is correctly paid (NOK)

Both tickets were paid with the same coupon, which is not supposed to happen.
No tags attached.
duplicate of backport 0005189 closed Hennadzi Openbravo ERP 'Payment Tracker' report mandatory fields 
related to defect 0053845 closed SABARINATH P POS2 [23Q4] Coupons marked as Single-Use allows multiple usages 
png CouponError.png (76,280) 2024-04-22 15:28
https://issues.openbravo.com/file_download.php?file_id=19680&type=bug
png
Issue History
2024-04-22 15:28andre_montenegroNew Issue
2024-04-22 15:28andre_montenegroAssigned To => Retail
2024-04-22 15:28andre_montenegroFile Added: CouponError.png
2024-04-22 15:28andre_montenegroTriggers an Emergency Pack => No
2024-04-22 15:28andre_montenegroIssue generated from0053845
2024-04-22 15:28andre_montenegroRelationship addedrelated to 0053845
2024-04-22 16:13jorgewederagoRelationship addedduplicate of 0005189
2024-04-22 16:14jorgewederagoStatusnew => closed
2024-04-22 16:14jorgewederagoResolutionopen => duplicate

There are no notes attached to this issue.