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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055783
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminoralways2024-06-17 13:502024-07-05 13:44
Reporterphilippe_muiView Statuspublic 
Assigned Toalainperez 
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

0055783: RM-9970 [COUPONS] POS: possible to use more than N use per customer when the ticket is first assigned to another customer

DescriptionN use per customer can be exceeded when another customer is first assigned to the ticket.

Expected result : When N use per customer is reach for a specific customer, it is impossible to finish the sale with the coupon promotion applied to this customer.


https://openbravo.atlassian.net/browse/RM-9970 [^]
Steps To ReproduceSteps to reproduce

In the backoffice, create a promotion price adjustment automatic with coupon with filter Products “Only those defined”, and products 1 and 2 added in the subtab product. The uses of coupon must be checked.

In the “Coupon” configuration, generate a coupon with N Use per customer = 2.

In the POS, assign to customer A add product 1 or 2 and click on the 3 dots options “Coupons”, and when the pop-up opens, click on “Redeem coupons”

Now finalize the sale for the ticket 1 : the coupon promo is applied.

Create a second ticket assign to customer A, and add product 1 or 2 and click on the 3 dots options “Coupons”, and when the pop-up opens, click on “Redeem coupons”

Finalize the sale for the ticket 2 : the coupon promo is applied

Create a third ticket to customer B, add product 1 or 2 and click on the 3 dots options “Coupons”, and when the pop-up opens, click on “Redeem coupons”. Before to finish the sale, assign to customer A to the ticket.

Finalize the sale for the ticket 3: the coupon promo is applied. → KO, the coupon applied a third time to the customer A instead of showing an error message because N=2 uses have already been reached

Go to the Promotion||Coupon||Usage, and see that the N use for customer A is =-1
TagsFASH
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0055782 closedalainperez RM-9964 [COUPONS] POS : possible to use more than N use the coupon when ticket is in draft 
causes defect 0056298 closedSABARINATH P The sales process is blocked in offline mode if the substitutive invoice is enabled 

-  Notes
(0166099)
hgbot (developer)
2024-06-19 15:23

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/59 [^]
(0166726)
hgbot (developer)
2024-07-05 13:44

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons [^]
Changeset: 8b8ced7ae1188683262b3f300cb4655e946082c2
Author: Alain Pérez Balart <alain.perez@openbravo.com>
Date: 05-07-2024 10:24:20
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/commit/8b8ced7ae1188683262b3f300cb4655e946082c2 [^]

Fixed ISSUE-55783: Validate the coupons when the ticket is completed

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/discounts/coupons/CouponUsed.java
M web-jspack/org.openbravo.retail.discounts.coupons/src/action/CouponStateActionPreparation.js
---
(0166727)
hgbot (developer)
2024-07-05 13:44

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

- Issue History
Date Modified Username Field Change
2024-06-17 13:50 philippe_mui New Issue
2024-06-17 13:50 philippe_mui Assigned To => Retail
2024-06-17 13:50 philippe_mui Triggers an Emergency Pack => No
2024-06-17 13:51 philippe_mui Tag Attached: FASH
2024-06-17 14:36 marvintm Status new => acknowledged
2024-06-17 14:37 marvintm Status acknowledged => scheduled
2024-06-17 14:37 marvintm Assigned To Retail => alainperez
2024-06-19 15:23 hgbot Note Added: 0166099
2024-07-05 13:44 hgbot Resolution open => fixed
2024-07-05 13:44 hgbot Status scheduled => closed
2024-07-05 13:44 hgbot Note Added: 0166726
2024-07-05 13:44 hgbot Note Added: 0166727
2024-07-09 13:40 jorgewederago Relationship added has duplicate 0055782
2024-08-30 13:17 SABARINATH P Relationship added causes 0055657
2024-08-30 13:43 SABARINATH P Relationship deleted causes 0055657
2024-08-30 13:43 SABARINATH P Relationship added causes 0056298


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker