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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051189
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2022-12-17 08:572024-08-16 09:20
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

0051189: Discount amount is more than Line amount when applying Two Families Discount

DescriptionDiscount amount is more than Line amount when applying Two Families Discount
Steps To ReproduceLivebuilds modules
Backoffice
1) Enable discount "Cooking Set - 50% discount in second unit"
   Update Fixed Discount as "15.00" for Family 1
   Make Product "Cooking Set" as inactive in Family 1

POS
1) Add Product "Cooking Set"
2) Add Product "Plastic fly swatter"
3) Confirm discount "Cooking Set - 50% discount in second unit" is applied for all lines
4) For Line "Plastic fly swatter", discount amount "15" is more than line gross amount "2.50" <-- KO

TagsNo tags attached.
Attached Filespng file icon TwoFamilyDiscount.png [^] (104,930 bytes) 2023-02-07 10:13

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0052829 closedradhakrishnan TwoFamiliesCombo junit tests are not included in ci 

-  Notes
(0146286)
hgbot (developer)
2023-02-08 10:23

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discount.twofamiliescombo/-/merge_requests/3 [^]
(0168119)
hgbot (developer)
2024-08-16 09:20

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discount.twofamiliescombo/-/merge_requests/3 [^]
(0168120)
hgbot (developer)
2024-08-16 09:20

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discount.twofamiliescombo [^]
Changeset: 6b6f34de2c726d4983ff75ea9745602117f2c0fc
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 14-08-2024 09:36:59
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discount.twofamiliescombo/-/commit/6b6f34de2c726d4983ff75ea9745602117f2c0fc [^]

Fixed ISSUE-51189: Fixed Discount amount should not exceed the line unit price
* When family is defined with fixed discount, then discount amount for family
  should be minimum value from line unit price and fixed discount amount

---
M src-test/org/openbravo/discount/twofamiliescombo/test/unittests/DiscountTwoFamiliesComboTest.java
M web/org.openbravo.retail.discount.twofamiliescombo/app/model/business-logic/discounts-engine/engine/rules/two-families-combo-discount.js
---

- Issue History
Date Modified Username Field Change
2022-12-17 08:57 ranjith_qualiantech_com New Issue
2022-12-17 08:57 ranjith_qualiantech_com Assigned To => Retail
2022-12-17 08:57 ranjith_qualiantech_com File Added: TwoFamilyDiscount.png
2022-12-17 08:57 ranjith_qualiantech_com Triggers an Emergency Pack => No
2023-02-07 07:23 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-02-07 07:23 ranjith_qualiantech_com Status new => scheduled
2023-02-07 10:10 ranjith_qualiantech_com Steps to Reproduce Updated View Revisions
2023-02-07 10:13 ranjith_qualiantech_com File Deleted: TwoFamilyDiscount.png
2023-02-07 10:13 ranjith_qualiantech_com File Added: TwoFamilyDiscount.png
2023-02-08 10:23 hgbot Note Added: 0146286
2023-06-22 12:16 aferraz Relationship added related to 0052829
2024-08-16 09:20 hgbot Note Added: 0168119
2024-08-16 09:20 hgbot Resolution open => fixed
2024-08-16 09:20 hgbot Status scheduled => closed
2024-08-16 09:20 hgbot Note Added: 0168120


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker