Openbravo Issue Tracking System - POS2
View Issue Details
0055573POS2POSpublic2024-04-05 12:092024-05-24 08:04
lmonreal 
Rajesh_18 
highmajoralways
closedfixed 
5
 
24Q224Q2 
approved
OBPS
No
0055573: User Defined Line Amount discount setting 0 price
I want to configure a discount to change the price of a product line.

Hence I have configured “User Defined Line Amount”. Field Line Final Gross I have left it empty because I want the user to set the price that he wants in POS.

But when I select a price to apply to the line, POS shows the product line as 0.
1. Have discount “User Defined Line Amount” configured with Field Line Final Gross empty.
2. Add product in POS
3. Select line and select Discount
4. Apply discount of step 1 and in keyboard add a price
5. See the product line is set to 0, the product price entered in above step is not taken into account

No tags attached.
blocks defect 005511024Q2 closed Rajesh_18 User Defined Line Amount discount setting 0 price 
Issue History
2024-05-24 07:53marvintmTypedefect => backport
2024-05-24 08:01hgbotNote Added: 0165054
2024-05-24 08:04hgbotNote Added: 0165055
2024-05-24 08:04hgbotResolutionopen => fixed
2024-05-24 08:04hgbotStatusscheduled => closed
2024-05-24 08:04hgbotFixed in Version => 24Q2
2024-05-24 08:04hgbotNote Added: 0165056

Notes
(0165054)
hgbot   
2024-05-24 08:01   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2663 [^]
(0165055)
hgbot   
2024-05-24 08:04   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2663 [^]
(0165056)
hgbot   
2024-05-24 08:04   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: b142afe13eba3b91db6622cf40363136c4ba0bc4
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 24-05-2024 11:30:18
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/b142afe13eba3b91db6622cf40363136c4ba0bc4 [^]

Fixed ISSUE-55573: User defined amount is applied for User Defined Line Amount discout

---
M web-jspack/org.openbravo.pos2/src/components/Discounts/ManualDiscount/DiscountAmountCell/DiscountAmountCell.jsx
M web-jspack/org.openbravo.pos2/src/components/Discounts/ManualDiscount/DiscountInputAmountCell/DiscountInputAmountCell.jsx
---