Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053845
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2023-11-03 11:342024-04-22 15:28
Reporterandre_montenegroView Statuspublic 
Assigned ToSABARINATH P 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0053845: [23Q4] Coupons marked as Single-Use allows multiple usages

DescriptionThe 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 ReproduceERP 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

POS steps
- 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.
TagsNo tags attached.
Attached Filespng file icon CouponUsedTwice.png [^] (74,151 bytes) 2023-11-03 11:34

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0053618 closedjorgewederago Port and improve Number of Uses for Coupons 
related to defect 0055280 closedRetail [24Q2] Coupons marked as Single-Use allows multiple usages 

-  Notes
(0157281)
hgbot (developer)
2023-11-17 12:40

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/32 [^]
(0159398)
hgbot (developer)
2024-01-17 06:49

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/32 [^]

- Issue History
Date Modified Username Field Change
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
2024-01-17 06:23 SABARINATH P Status scheduled => resolved
2024-01-17 06:23 SABARINATH P Resolution open => fixed
2024-01-17 06:23 SABARINATH P Status resolved => closed
2024-01-17 06:49 hgbot Note Added: 0159398
2024-04-22 15:28 andre_montenegro Issue cloned 0055280
2024-04-22 15:28 andre_montenegro Relationship added related to 0055280


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker