Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049774
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorhave not tried2022-07-11 10:082022-08-16 13:48
ReporternoemierousselView Statuspublic 
Assigned Tomeriem_azaf 
PrioritynormalResolutionfixedFixed in Version22Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049774: [SALES] - When scanning a product, product description remains after checkout

DescriptionIn the main screen of the WebPOS2, after closing a ticket with product(s) scanned, the description of the product(s) remain on the screen

See video here: https://drive.google.com/file/d/1w3pigyrSMnN9sTzgB7GDxMm12PQyytaA/view?usp=sharing [^]
Steps To ReproduceGo to the WebPOS2

Past a previously copied UPC/EAN. For example :0000001688191

Pay the ticket

See that in the main screen, the description is still displayed.
TagsFASH
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0140072)
hgbot (developer)
2022-08-11 14:36

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1141 [^]
(0140154)
hgbot (developer)
2022-08-16 13:48

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1141 [^]
(0140155)
hgbot (developer)
2022-08-16 13:48

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: f52cf6028d40e3afb73672eb20219ea42b9831b1
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 16-08-2022 12:15:05
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/f52cf6028d40e3afb73672eb20219ea42b9831b1 [^]

Fixes ISSUE-49774: [SALES] - When scanning a product, product description remains after checkout

In the main screen of the WebPOS2, after closing a ticket with product(s) scanned, the description of the product(s) remain on the screen.

The problem was that the state it's not updating after the checkout and still keeping the last scanned product.

To fix this, we had create a post hook to reset the last scanned product in the state after the checkout and we did the same for deleteTicket, newTicket and also cancelTicket.

---
M web-jspack/org.openbravo.pos2/src/components/ProductScan/ProductScanProductInfo/ProductScanProductInfo.jsx
M web-jspack/org.openbravo.pos2/src/model/ticket/TicketExtension.js
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/CompleteTicketHooks.js
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/__test__/CompleteTicketHooks.test.js
---

- Issue History
Date Modified Username Field Change
2022-07-11 10:08 noemieroussel New Issue
2022-07-11 10:08 noemieroussel Assigned To => Retail
2022-07-11 10:08 noemieroussel Triggers an Emergency Pack => No
2022-07-13 00:28 rafaroda Tag Attached: FASH
2022-07-13 00:29 rafaroda Severity minor => major
2022-08-10 23:45 AugustoMauch Assigned To Retail => meriem_azaf
2022-08-10 23:45 AugustoMauch Status new => scheduled
2022-08-11 14:36 hgbot Note Added: 0140072
2022-08-16 13:48 hgbot Resolution open => fixed
2022-08-16 13:48 hgbot Status scheduled => closed
2022-08-16 13:48 hgbot Note Added: 0140154
2022-08-16 13:48 hgbot Fixed in Version => 22Q4
2022-08-16 13:48 hgbot Note Added: 0140155


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker