|View Issue Details|
|Type||Category||Severity||Reproducibility||Date Submitted||Last Update|
|defect||[POS2] POS||major||always||2023-11-03 11:34||2023-11-17 12:40|
|Assigned To||SABARINATH P|
|Priority||normal||Resolution||open||Fixed in Version|
|Status||scheduled||Fix in branch||Fixed in SCM revision|
|OS Version||Database version||Ant version|
|Product Version||SCM revision|
|Review Assigned To|
|Regression introduced in release|
|Regression introduced by commit|
|Triggers an Emergency Pack||No|
0053845: [23Q4] Coupons marked as Single-Use allows multiple usages
|Description||The user can apply the 'Single-Use' coupon discount to two different opened tickets, which is currently OK (notice: OPENED ticket, not PAID yet)|
However, the problem arises when the user pays the first opened ticket without any problem, but then, they can also use pay for the second ticket which contains the same coupon.
|Steps To Reproduce||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
- Create and save a new record
- Coupon Code: "2x1"
- Check "Expires after 1 use"
- "Active" should be checked
- Log in to POS using User: Vallblanca and 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 "2x1". The coupon should be applied.
- Click "New Order"
- Create another ticket with the same items.
- Go to "Coupons" and apply the "2x1" coupon.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.
|Tags||No tags attached.|
|Attached Files|| CouponUsedTwice.png [^] (74,151 bytes) 2023-11-03 11:34
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/32 [^]
|2023-11-03 11:34||andre_montenegro||New Issue|
|2023-11-03 11:34||andre_montenegro||Assigned To||=> Retail|
|2023-11-03 11:34||andre_montenegro||File Added: CouponUsedTwice.png|
|2023-11-03 11:34||andre_montenegro||Triggers an Emergency Pack||=> No|
|2023-11-03 11:36||andre_montenegro||Relationship added||related to 0053618|
|2023-11-03 12:17||andre_montenegro||Steps to Reproduce Updated||View Revisions|
|2023-11-09 06:21||SABARINATH P||Assigned To||Retail => SABARINATH P|
|2023-11-09 06:21||SABARINATH P||Status||new => scheduled|
|2023-11-17 12:40||hgbot||Note Added: 0157281|
|Copyright © 2000 - 2009 MantisBT Group|