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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055792
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2024-06-19 09:582024-08-26 07:52
ReporterucarrionView Statuspublic 
Assigned ToRajesh_18 
PriorityhighResolutionfixedFixed in Version24Q4
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

0055792: Incorrect 'Final Price' in the discount menu while applying a new line price

DescriptionThe discount menu displays a 'Final Price' section where the expected final price (after the discount application) is informed. This price is incorrect if the applied discount is a defined line amount.
Steps To Reproduce-Precondition: to have a 'User defined amount' discount enabled for the target environment.
-Login the POS.
-Add a line.
-Click/tap on the line. In the contextual menu, select 'Discount'.
-In the discount menu, select the 'User defined amount' discount.
-Insert a value on the pad.
-Check that the final price is not the expected one.

Video: https://vimeo.com/962063199/8778765c52?share=copy [^]
Proposed SolutionThe final price should be the one inserted in the pad.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 005511024Q2 closedRajesh_18 User Defined Line Amount discount setting 0 price 

-  Notes
(0166480)
hgbot (developer)
2024-06-28 14:56

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2764 [^]
(0168422)
hgbot (developer)
2024-08-26 07:51

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 55c745aeabf81fc78af03d324e66a32e50c98dd9
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 23-08-2024 06:00:13
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/55c745aeabf81fc78af03d324e66a32e50c98dd9 [^]

Fixed ISSUE-55792: In Discount window, Final price is changed based on the discount amount
* User Defined Line discount amount cannot be greater than the product price
* If two product are selected and User Defined Line discount is applied, if the discount amt greater than any one of the product price then warning message is shown to the user.
* Example Avalanche price is 150 and Hiking Boots price is 170. if we try to apply 160 as discount amount, we cannot apply it a warning notification is shown.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-jspack/org.openbravo.pos2/src/components/Discounts/ManualDiscount/DiscountInputAmountCell/DiscountInputAmountCell.jsx
M web-jspack/org.openbravo.pos2/src/components/Discounts/shared/OptionalDiscountsUtils.js
---
(0168423)
hgbot (developer)
2024-08-26 07:51

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2764 [^]
(0168424)
marvintm (manager)
2024-08-26 07:52

Tested several cases with the "User Defined Line Amount" rule, testing both lower and greater amounts than the total line amount. In all cases it was working correctly. Besides this, confirmed that "User defined" amount and percentage discounts were also still working correctly.

- Issue History
Date Modified Username Field Change
2024-06-19 09:58 ucarrion New Issue
2024-06-19 09:58 ucarrion Assigned To => Retail
2024-06-19 09:58 ucarrion Triggers an Emergency Pack => No
2024-06-19 10:00 ucarrion Steps to Reproduce Updated View Revisions
2024-06-19 10:06 ucarrion Relationship added related to 0055110
2024-06-19 11:10 lmonreal Issue Monitored: martinsdan
2024-06-24 11:32 marvintm Status new => acknowledged
2024-06-24 11:48 SABARINATH P Assigned To Retail => SABARINATH P
2024-06-24 11:48 Rajesh_18 Assigned To SABARINATH P => Rajesh_18
2024-06-24 11:48 SABARINATH P Status acknowledged => scheduled
2024-06-28 14:56 hgbot Note Added: 0166480
2024-08-26 07:50 hgbot Resolution open => fixed
2024-08-26 07:50 hgbot Status scheduled => closed
2024-08-26 07:51 hgbot Fixed in Version => 24Q4
2024-08-26 07:51 hgbot Note Added: 0168422
2024-08-26 07:51 hgbot Note Added: 0168423
2024-08-26 07:52 marvintm Note Added: 0168424


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker