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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055189
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajoralways2024-04-14 13:572024-06-25 12:42
ReporterremibrunetView Statuspublic 
Assigned ToSABARINATH P 
PriorityhighResolutionfixedFixed 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

0055189: 1 use coupons usable twice with parallel tickets

DescriptionWhen setting a coupon as 1 time use only, you can apply it on several ticket in parallel ticket and finish them with the reduction
Steps To ReproduceCreate a discount coupon in the back office with Number of uses = N uses, and Number of Uses Limit = 1

On POS :
Add a product
Add the coupon code
Create a 2nd ticket (new order function)
Add a product
Add the coupon code
Finish the 2nd ticket
Finish the 1st ticket

Both have had the reduction
Proposed SolutionDuring the migration to React some functionality was missed. It is needed to migrate to ReactPOS the functionality found here:
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/blob/master/web/org.openbravo.retail.discounts.coupons/js/hooks/preordersavehook.js?ref_type=heads [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0163903)
hgbot (developer)
2024-04-29 15:06

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/51 [^]
(0166052)
hgbot (developer)
2024-06-18 09:55

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons [^]
Changeset: ba0182b3ba6fa78257a613484c802193c3190071
Author: Sabarinath <sabarinath.palanisamy.ext@openbravo.com>
Date: 17-06-2024 19:32:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/commit/ba0182b3ba6fa78257a613484c802193c3190071 [^]

Fixed ISSUE-55189: Validated singleUse coupon in draftTicket.

---
A web-jspack/org.openbravo.retail.discounts.coupons/src/action/CouponStateActionPreparation.js
M src/org/openbravo/retail/discounts/coupons/CouponsComponentProvider.java
M web-jspack/org.openbravo.retail.discounts.coupons/src/ob-init.js
---
(0166053)
hgbot (developer)
2024-06-18 09:55

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/51 [^]
(0166241)
hgbot (developer)
2024-06-24 09:36

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/60 [^]
(0166300)
hgbot (developer)
2024-06-25 12:42

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons [^]
Changeset: fd370f5b62b1d3e1b69d7d0cce389a4906ba0c5c
Author: Sabarinath <sabarinath.palanisamy.ext@openbravo.com>
Date: 25-06-2024 10:43:43
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/commit/fd370f5b62b1d3e1b69d7d0cce389a4906ba0c5c [^]

Related ISSUE-55189: Handled coupon action in offline mode.

---
M web-jspack/org.openbravo.retail.discounts.coupons/src/action/CouponStateActionPreparation.js
---
(0166301)
hgbot (developer)
2024-06-25 12:42

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

- Issue History
Date Modified Username Field Change
2024-04-14 13:57 remibrunet New Issue
2024-04-14 13:57 remibrunet Assigned To => Retail
2024-04-14 13:57 remibrunet Triggers an Emergency Pack => No
2024-04-16 13:31 jorgewederago Proposed Solution updated
2024-04-26 13:58 jorgewederago Status new => acknowledged
2024-04-29 12:45 SABARINATH P Assigned To Retail => SABARINATH P
2024-04-29 12:45 SABARINATH P Status acknowledged => scheduled
2024-04-29 15:06 hgbot Note Added: 0163903
2024-06-18 09:55 hgbot Resolution open => fixed
2024-06-18 09:55 hgbot Status scheduled => closed
2024-06-18 09:55 hgbot Note Added: 0166052
2024-06-18 09:55 hgbot Note Added: 0166053
2024-06-24 09:36 hgbot Note Added: 0166241
2024-06-25 12:42 hgbot Note Added: 0166300
2024-06-25 12:42 hgbot Note Added: 0166301


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker