Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0055792 | POS2 | POS | public | 2024-06-19 09:58 | 2024-08-26 07:52 |
|
Reporter | ucarrion | |
Assigned To | Rajesh_18 | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 24Q4 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0055792: Incorrect 'Final Price' in the discount menu while applying a new line price |
Description | The 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 Solution | The final price should be the one inserted in the pad. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0055110 | 24Q2 | closed | Rajesh_18 | User Defined Line Amount discount setting 0 price |
|
Attached Files | |
|
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 | bug_revision_view_page.php?rev_id=28119#r28119 |
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 | |
Notes |
|
(0166480)
|
hgbot
|
2024-06-28 14:56
|
|
|
|
(0168422)
|
hgbot
|
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
|
2024-08-26 07:51
|
|
|
|
|
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. |
|