Openbravo Issue Tracking System - POS2
View Issue Details
0056668POS2POSpublic2024-10-07 12:132025-03-05 12:26
fdomingues 
fofarril 
normalminoralways
closedfixed 
5
24Q3.1 
25Q2 
approved
No
No
0056668: Bug when validating a 'null' quantity in the product quantity edit pop-up
when changing the quantity of a product with a 'null' value, the product is removed from the ticket
In the pop-up that allows us to modify the quantity of a product:

- Add a product to the ticket.
- In the tickt area click on it and click ont the 'Qty' field
- Click on the backspace button the ‘Qty’ field to becomes empty
- Click on the ‘OK’ button

Current behavior: we get a warning telling us that the value is incorrect, but the product is deleted from the ticket
After discussion with Eduardo Argal & David Baz it was decided to fix this behavior with the following:

The quantity pop-up should not be closed
The warning must be displayed on the quantity pop-up
The product should not be deleted.
No tags attached.
Issue History
2024-10-07 12:13fdominguesNew Issue
2024-10-07 12:13fdominguesAssigned To => Retail
2024-10-07 12:13fdominguesTriggers an Emergency Pack => No
2024-10-09 12:23marvintmOBNetwork customer => No
2024-10-09 12:23marvintmSeveritymajor => minor
2025-01-30 15:02guillermogilAssigned ToRetail => jorgewederago
2025-01-31 06:59jorgewederagoAssigned Tojorgewederago => fofarril
2025-02-03 18:19fofarrilStatusnew => scheduled
2025-02-03 20:10hgbotMerge Request Status => open
2025-02-03 20:10hgbotNote Added: 0175073
2025-03-05 12:26hgbotMerge Request Statusopen => approved
2025-03-05 12:26hgbotResolutionopen => fixed
2025-03-05 12:26hgbotStatusscheduled => closed
2025-03-05 12:26hgbotFixed in Version => 25Q2
2025-03-05 12:26hgbotNote Added: 0176472
2025-03-05 12:26hgbotNote Added: 0176473

Notes
(0175073)
hgbot   
2025-02-03 20:10   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3450 [^]
(0176472)
hgbot   
2025-03-05 12:26   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: adb291117b348533d0491121c33e3155537e0437
Author: Francisco Javier Deler O'Farril <francisco.ofarril@doceleguas.com>
Date: 05-03-2025 12:26:17
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/adb291117b348533d0491121c33e3155537e0437 [^]

Fixes ISSUE-56668: Bug when validating a 'null' quantity in the product quantity edit pop-up

---
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/SetLineQuantityKeypad/SetLineQuantityKeypad.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLinePopover.jsx
---
(0176473)
hgbot   
2025-03-05 12:26   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3450 [^]