Openbravo Issue Tracking System - POS2
View Issue Details
0053879POS2POSpublic2023-10-18 09:472023-11-14 18:48
Markel_Iruretagoyena 
SABARINATH P 
normalmajoralways
closedfixed 
5
 
23Q423Q4 
marvintm
Production - QA Approved
23Q3
No
0053879: [23Q4] It is possible to add a positive line to a return ticket
When a "Return Local Draft" is created, if the product quantity of any line is changed using the keypad the negative amount of the line will be changed to a positive amount
1- Login in POS as vallblanca
2- Click on the 3 vertical dots above the "Pay" button, then select "Convert to Return"
3- Select any product
4- Click on the line of the product just added and click on "Qty"
5- Change the quantity using the keypad

Things to note:
-The ticket total is now positive for a return ticket.
-If multiple lines are added to the ticket and at least one of them have a positive amount, it is not possible to convert the return to an order.
-No matter what quantity is selected using the keyboard, when you click "OK" the amount will be the same as before, but now with a positive value.
No tags attached.
blocks defect 0053689 closed SABARINATH P [23Q4] It is possible to add a positive line to a return ticket 
Issue History
2023-11-07 07:36marvintmTypedefect => backport
2023-11-07 07:36marvintmTarget Version => 23Q4
2023-11-09 10:00SABARINATH PAssigned ToRetail => SABARINATH P
2023-11-09 11:00hgbotNote Added: 0156947
2023-11-14 18:46hgbotNote Added: 0157155
2023-11-14 18:47marvintmNote Added: 0157157
2023-11-14 18:47marvintmStatusscheduled => resolved
2023-11-14 18:47marvintmFixed in Version => 23Q4
2023-11-14 18:47marvintmResolutionopen => fixed
2023-11-14 18:48marvintmReview Assigned To => marvintm
2023-11-14 18:48marvintmStatusresolved => closed

Notes
(0156947)
hgbot   
2023-11-09 11:00   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2231 [^]
(0157155)
hgbot   
2023-11-14 18:46   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2231 [^]
(0157157)
marvintm   
2023-11-14 18:47   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] [^]
Changeset: e06c3118562016316f33ed5b2b70c2bd58bbe6fe
Author: Sabarinath <sabarinath.palanisamy.ext@openbravo.com>
Date: 14-11-2023 17:46:27
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/e06c3118562016316f33ed5b2b70c2bd58bbe6fe [^] [^]

Fixed ISSUE-53689: Positive line cannot be added to the return ticket.

---
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLinePopover.jsx