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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054273
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2024-01-09 07:342024-01-11 14:39
Reporterranjith_qualiantech_comView Statuspublic 
Assigned Toranjith_qualiantech_com 
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

0054273: OTFCoupons not generated if MinQty is configured for Amount Rule

DescriptionOTFCoupons is not generated if Min quantity is configured for OTF Coupons Generation rule with Amount Rule "Buy X Get Y" and "Variable Amount Coupons" discount type.
Steps To ReproduceBackoffice
1) Create a discount for "Variable Amount Coupons". (Check "Use Coupon Code" & "Is OTF Coupon"
2) Create OTF Coupons Generation rule with Amount Rule "Buy X Get Y" for above discount
   With XUnits: 2, YUnits: 1, Min Quantity: 4

POS
1) Add 3 products and complete it
2) Coupon is generated but it should not. (Since, it doesn't met the min quantity condition)

** Same case applied for Min Receipt Amount
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0053832 closedranjith_qualiantech_com Implement Amount rule for Variable Amount Coupons in Coupons OTF Generation Rules 

-  Notes
(0159020)
hgbot (developer)
2024-01-10 10:08

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/41 [^]
(0159138)
hgbot (developer)
2024-01-11 14:39

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/41 [^]
(0159139)
hgbot (developer)
2024-01-11 14:39

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf [^]
Changeset: c66c0e0717d62aa813fe6b6cbabbebd4f8d09057
Author: Ranjith S R <ranjith.rangaraju.ext@openbravo.com>
Date: 10-01-2024 10:28:21
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/commit/c66c0e0717d62aa813fe6b6cbabbebd4f8d09057 [^]

Fixed ISSUE-54273: Added min qty & amt validation for AmountRule BuyXGetY type

---
M web-jspack/org.openbravo.retail.discounts.coupons.otf/src/model/global/__test__/CreateCoupons.test.js
M web-jspack/org.openbravo.retail.discounts.coupons.otf/src/model/global/actions/utils/CreateCoupons.js
---

- Issue History
Date Modified Username Field Change
2024-01-09 07:34 ranjith_qualiantech_com New Issue
2024-01-09 07:34 ranjith_qualiantech_com Assigned To => ranjith_qualiantech_com
2024-01-09 07:34 ranjith_qualiantech_com Triggers an Emergency Pack => No
2024-01-09 07:46 ranjith_qualiantech_com Relationship added related to 0053832
2024-01-09 07:46 ranjith_qualiantech_com Status new => scheduled
2024-01-10 10:08 hgbot Note Added: 0159020
2024-01-11 14:39 hgbot Note Added: 0159138
2024-01-11 14:39 hgbot Resolution open => fixed
2024-01-11 14:39 hgbot Status scheduled => closed
2024-01-11 14:39 hgbot Note Added: 0159139


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker