Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2023-07-05 07:002023-08-18 08:35
ReportersreehariView Statuspublic 
Assigned ToRajesh_18 
PrioritynormalResolutionfixedFixed in Version23Q4
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

0052923: No Validation for line Discounts when modifying discount percentage

DescriptionWhen applying a discount for a line product, and trying to modify the discount % or the discount amount, it gets applied whatever the value is.

Attaching a video link FYR : [^]

Steps To Reproduce1. Add some products to the ticket
2. Click on the product line to apply the discount
3. Select any available variable discount & try to modify the discount % or the discount amount
4. The maximum discount gets applied even if its greater than 100%, also in case of amount it gets applied even if the discounted amount is more than the value of the product.
Proposed SolutionThere should be validation to check for discount percentage greater than 0% and less than or equal to 100%.

Also, in case of variable amount, there should be validation to check for the product price & discount price
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0050739 scheduledRajesh_18 Discount is not properly applied when user defined discount is applied 
related to defect 0053027 closedRajesh_18 [23Q3] Receipt Properties button is not shown in a Return order 

-  Notes
hgbot (developer)
2023-08-11 08:29

Merge Request created: [^]
hgbot (developer)
2023-08-18 08:35

Directly closing issue as related merge request is already approved.

Repository: [^]
Changeset: 161b0c9c2317e23dd7833750759d6187e9ca7463
Author: Rajesh Senthilkumar <>
Date: 18-08-2023 06:35:17
URL: [^]

Fixes ISSUE-52923: Validation for line Discounts when modifying discount. Discounts greater than 100% will not be possible to be applied.

M web-jspack/org.openbravo.pos2/src/components/ButtonBar1/ButtonBar1-DraftReturn.config.json
M web-jspack/org.openbravo.pos2/src/components/Discounts/ManualDiscount/ApplyDiscountButton/ApplyDiscountButton.jsx
M web-jspack/org.openbravo.pos2/src/components/Discounts/ManualDiscount/DiscountInputAmountCell/DiscountInputAmountCell.jsx
hgbot (developer)
2023-08-18 08:35

Merge request merged: [^]

- Issue History
Date Modified Username Field Change
2023-07-05 07:00 sreehari New Issue
2023-07-05 07:00 sreehari Assigned To => Retail
2023-07-05 07:00 sreehari Triggers an Emergency Pack => No
2023-08-10 08:21 Rajesh_18 Assigned To Retail => Rajesh_18
2023-08-10 08:22 Rajesh_18 Status new => scheduled
2023-08-11 08:29 hgbot Note Added: 0153439
2023-08-18 08:35 hgbot Resolution open => fixed
2023-08-18 08:35 hgbot Status scheduled => closed
2023-08-18 08:35 hgbot Fixed in Version => 23Q4
2023-08-18 08:35 hgbot Note Added: 0153644
2023-08-18 08:35 hgbot Note Added: 0153645
2023-08-31 14:37 Rajesh_18 Relationship added duplicate of 0050739
2023-09-05 13:10 sreehari Relationship added related to 0053027

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker