Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0051189 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Retail Modules] Web POS | major | always | 2022-12-17 08:57 | 2024-08-16 09:20 | |||
| Reporter | ranjith_qualiantech_com | View Status | public | |||||
| Assigned To | ranjith_qualiantech_com | |||||||
| Priority | high | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | |||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | approved | |||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0051189: Discount amount is more than Line amount when applying Two Families Discount | |||||||
| Description | Discount amount is more than Line amount when applying Two Families Discount | |||||||
| Steps To Reproduce | Livebuilds 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 | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
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 | OBNetwork customer | => No |
| 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 | Merge Request Status | => open |
| 2023-02-08 10:23 | hgbot | Note Added: 0146286 | |
| 2023-06-22 12:16 | aferraz | Relationship added | related to 0052829 |
| 2024-08-14 13:32 | hgbot | Merge Request Status | open => approved |
| 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 |