Openbravo Issue Tracking System - POS2
View Issue Details
0049842POS2POSpublic2022-07-19 14:142022-09-01 00:08
dorian_robillard 
Retail 
normalmajoralways
closedfixed 
5
 
22Q4 
plujan
No
0049842: After a sale, research on a product still active
After a sale which required a product research, the product research is still active even after the ticket payment.

I reproduced it in livebuilds POS2.
In Webpos, the problem doesn't appear
1) Open web Pos 2
2) search a product by name
3) Select the product
4) Pay the ticket and click "Done"
5) In the next ticket the filter is still active
The previous product research should disappear
FASH
duplicate of defect 0049870 closed ablasco [22Q3] Product searches are not automatically erased 
related to defect 0049851 closed meriem_azaf Scan in the search bar: the product details are not displayed 
Issue History
2022-07-19 14:14dorian_robillardNew Issue
2022-07-19 14:14dorian_robillardAssigned To => Retail
2022-07-19 14:14dorian_robillardFile Added: 2022-06-30_AFinTicket_SelectionArticleToujoursPresente.mp4
2022-07-19 14:14dorian_robillardTriggers an Emergency Pack => No
2022-08-02 14:28rafarodaSeverityminor => major
2022-08-02 14:28rafarodaTag Attached: FASH
2022-08-02 14:52plujanNote Added: 0139816
2022-08-03 09:33rafarodaRelationship addedrelated to 0049870
2022-08-03 09:34rafarodaFile Deleted: 2022-06-30_AFinTicket_SelectionArticleToujoursPresente.mp4
2022-08-03 09:35rafarodaReview Assigned To => plujan
2022-08-03 09:35rafarodaRelationship replacedduplicate of 0049870
2022-08-03 09:35rafarodaNote Added: 0139827
2022-08-03 09:35rafarodaStatusnew => closed
2022-08-03 09:35rafarodaResolutionopen => duplicate
2022-08-03 22:55rafarodaRelationship addedrelated to 0049851
2022-08-04 14:15hgbotNote Added: 0139903
2022-09-01 00:08hgbotNote Added: 0140576
2022-09-01 00:08hgbotResolutionduplicate => fixed
2022-09-01 00:08hgbotFixed in Version => 22Q4
2022-09-01 00:08hgbotNote Added: 0140577

Notes
(0139816)
plujan   
2022-08-02 14:52   
1. This report shows information should not be made public.

2. There is another report from some days ago about this very same problem https://issues.openbravo.com/view.php?id=49870 [^] so this one should be rejected as duplicated.
(0139827)
rafaroda   
2022-08-03 09:35   
Rejected since du0plicated of 0049870
(0139903)
hgbot   
2022-08-04 14:15   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1123 [^]
(0140576)
hgbot   
2022-09-01 00:08   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1123 [^]
(0140577)
hgbot   
2022-09-01 00:08   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 59a2ec5c43ad85cf14ce983261c3aa47fc908467
Author: adrian.blasco <adrian.blasco@openbravo.com>
Date: 31-08-2022 23:55:32
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/59a2ec5c43ad85cf14ce983261c3aa47fc908467 [^]

Fixes ISSUE-49842 ProductSearch Text erased after sale

SearchInput Payload in CompleteTicket

ResetAppliedFilters when Complete Ticket

ResetAppliedFilters in Test

ResetAppliedFilters in PaymentKeypad Test

Test for search Inpur when Complete Ticket is done

---
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentKeypad/__test__/PaymentKeypad.test.jsx
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/CompleteTicket.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/CompleteTicket.js
---