Openbravo Issue Tracking System - POS2
View Issue Details
0054563POS2POSpublic2024-02-02 13:512024-02-29 15:06
sofia_rodriguez 
Rajesh_18 
highmajoralways
closedfixed 
5
 
24Q2 
No
0054563: Manual discount reason is asked as many times as lines with discounts applied
When a line is added with a manual discount : the reason window is displayed as many times as there are product lines with discounts already applied and a reason previously added.

One reason required per line.
Add 1st and 2nd product

Add a discount in the 1st:
Reason is required : OK

Add a discount in the 2nd:
Reason is required twice (KO : only one is expected, the other discount reason was already added)

Add 3rd product with this discount :
Approval is asked 3 times (KO : only one is expected, the other two discount reasons were already added)
Add 1st and 2nd product

Add a discount in the 1st:
Reason is required

Add a discount in the 2nd:
only one is expected, the other discount reason was already added

Add 3rd product with this discount :
only one is expected, the other two discount reasons were already added
No tags attached.
Issue History
2024-02-02 13:51sofia_rodriguezNew Issue
2024-02-02 13:51sofia_rodriguezAssigned To => Triage Platform Base
2024-02-02 13:51sofia_rodriguezTriggers an Emergency Pack => No
2024-02-06 15:34sofia_rodriguezAssigned ToTriage Platform Base =>
2024-02-06 15:34sofia_rodriguezProposed Solution updated
2024-02-12 13:27guillermogilAssigned To => Retail
2024-02-12 14:09Rajesh_18Assigned ToRetail => Rajesh_18
2024-02-12 14:10Rajesh_18Statusnew => scheduled
2024-02-15 04:44hgbotNote Added: 0160764
2024-02-29 15:06hgbotResolutionopen => fixed
2024-02-29 15:06hgbotStatusscheduled => closed
2024-02-29 15:06hgbotFixed in Version => 24Q2
2024-02-29 15:06hgbotNote Added: 0161440
2024-02-29 15:06hgbotNote Added: 0161441

Notes
(0160764)
hgbot   
2024-02-15 04:44   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2430 [^]
(0161440)
hgbot   
2024-02-29 15:06   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2430 [^]
(0161441)
hgbot   
2024-02-29 15:06   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 51dd7c832f6296faffe944bdbacbcb20700a5af4
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 29-02-2024 13:13:48
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/51dd7c832f6296faffe944bdbacbcb20700a5af4 [^]

Fixed ISSUE-54563: Input And Approval pop up is shown for selected lines only

---
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/discounts/SetLineDiscounts.js
---