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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055280
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminoralways2024-04-22 15:282024-04-22 16:14
Reporterandre_montenegroView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionduplicateFixed 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

0055280: [24Q2] Coupons marked as Single-Use allows multiple usages

DescriptionUsers 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.
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
- 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.
TagsNo tags attached.
Attached Filespng file icon CouponError.png [^] (76,280 bytes) 2024-04-22 15:28

- Relationships Relation Graph ] Dependency Graph ]
duplicate of backport 0005189 closedHennadzi Openbravo ERP 'Payment Tracker' report mandatory fields 
related to defect 0053845 closedSABARINATH P POS2 [23Q4] Coupons marked as Single-Use allows multiple usages 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2024-04-22 15:28 andre_montenegro New Issue
2024-04-22 15:28 andre_montenegro Assigned To => Retail
2024-04-22 15:28 andre_montenegro File Added: CouponError.png
2024-04-22 15:28 andre_montenegro Triggers an Emergency Pack => No
2024-04-22 15:28 andre_montenegro Issue generated from 0053845
2024-04-22 15:28 andre_montenegro Relationship added related to 0053845
2024-04-22 16:13 jorgewederago Relationship added duplicate of 0005189
2024-04-22 16:14 jorgewederago Status new => closed
2024-04-22 16:14 jorgewederago Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker