Openbravo Issue Tracking System - POS2
View Issue Details
0057591POS2POSpublic2025-01-08 14:382025-01-14 05:07
aaroncalero 
bastida 
normalminorhave not tried
closedfixed 
5
 
25Q2 
No
0057591: Deleting a ticket from the POS does not clear the product search input
In POS, when a ticket is completed, the product search input is cleared, so when the new ticket is created, the search panel is empty.
This is not working properly when a ticket is removed via the "Delete Order" button.
Log in a POS2 instance
Create a new ticket.
Go to the search window and type "avalanche". Add an 'Avalanche Transceiver' to the ticket.
Click on the Delete Order button on the Ticket footer.
Verify that the search window still shows the "avalanche" text.
Add a posthook to the DeleteTicket User Action to make sure the search input is properly cleared.
No tags attached.
Issue History
2025-01-08 14:38aaroncaleroNew Issue
2025-01-08 14:38aaroncaleroAssigned To => Retail
2025-01-08 14:38aaroncaleroTriggers an Emergency Pack => No
2025-01-08 14:39aaroncaleroAssigned ToRetail => bastida
2025-01-08 14:40aaroncaleroStatusnew => scheduled
2025-01-08 15:11hgbotNote Added: 0173917
2025-01-08 15:13hgbotNote Added: 0173918
2025-01-14 05:07hgbotResolutionopen => fixed
2025-01-14 05:07hgbotStatusscheduled => closed
2025-01-14 05:07hgbotFixed in Version => 25Q2
2025-01-14 05:07hgbotNote Added: 0174091
2025-01-14 05:07hgbotNote Added: 0174092
2025-01-14 05:07hgbotNote Added: 0174093
2025-01-14 05:07hgbotNote Added: 0174094

Notes
(0173917)
hgbot   
2025-01-08 15:11   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1712 [^]
(0173918)
hgbot   
2025-01-08 15:13   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3328 [^]
(0174091)
hgbot   
2025-01-14 05:07   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 0b4ee6b627b6f0eccad21f1daded5a6b92141524
Author: Jose Bastida <j.bastida@orisha.com>
Date: 14-01-2025 04:07:34
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/0b4ee6b627b6f0eccad21f1daded5a6b92141524 [^]

Fixed FR-0057591: Added reset for inputValue in SearchInput component

---
M web-jspack/org.openbravo.core2/src/components/Search/SearchInput/SearchInput.jsx
M web-jspack/org.openbravo.core2/src/components/Search/SearchInput/__test__/SearchInput.test.jsx
---
(0174092)
hgbot   
2025-01-14 05:07   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1712 [^]
(0174093)
hgbot   
2025-01-14 05:07   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 8ec943c4731d28f2a7bede52c63156a5fa9d674a
Author: Jose Bastida <j.bastida@orisha.com>
Date: 14-01-2025 04:07:36
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/8ec943c4731d28f2a7bede52c63156a5fa9d674a [^]

Fixed FR-0057591: Added reset for inputValue in SearchInput component

---
M web-jspack/org.openbravo.pos2/src/components/ButtonBar2/__test__/ButtonBar2.test.jsx
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/DeleteTicket.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/DeleteTicket.js
---
(0174094)
hgbot   
2025-01-14 05:07   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3328 [^]