Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028617Retail ModulesWeb POSpublic2015-01-14 16:352015-01-16 14:15
adrianromero 
adrianromero 
normalminorrandom
closedfixed 
5
 
pi 
Orekaria
No
0028617: Sometimes the barcode scanner does not work at the first time
Sometimes when reading a barcode with the scanner it is not added to the receipt, it is needed to read the barcode again to add it to the receipt
* Open a new receipt
* In the scan pane type something "emmental" (This happens for example if the cashier tries to search a product without moving first to the Search pane)
* Tap on the total button
* Tap on the scan pane. Observe that the text typed is removed visually
* Read a barcode. For example 0001
* The product is not added and a warning appears showing that the product with barcode "emmental0004" does not exist
The problem is that the internal buffer for reading barcodes is not properly cleared when going to the total and coming back to the scan tab. Visually it seems that it has been cleaned but actually is not.

The solution is to clean the internal buffer in these situations.
No tags attached.
Issue History
2015-01-14 16:35adrianromeroNew Issue
2015-01-14 16:35adrianromeroAssigned To => adrianromero
2015-01-14 16:35adrianromeroTriggers an Emergency Pack => No
2015-01-14 16:44hgbotCheckin
2015-01-14 16:44hgbotNote Added: 0073499
2015-01-14 16:44hgbotStatusnew => resolved
2015-01-14 16:44hgbotResolutionopen => fixed
2015-01-14 16:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d635f6905632ccd69658676e9f0db35fef0bf032 [^]
2015-01-15 19:38OrekariaRelationship addedrelated to 0028564
2015-01-15 19:39OrekariaRelationship deletedrelated to 0028564
2015-01-16 14:15OrekariaReview Assigned To => Orekaria
2015-01-16 14:15OrekariaStatusresolved => closed
2015-01-16 14:15OrekariaFixed in Version => pi

Notes
(0073499)
hgbot   
2015-01-14 16:44   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: d635f6905632ccd69658676e9f0db35fef0bf032
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Wed Jan 14 16:36:51 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d635f6905632ccd69658676e9f0db35fef0bf032 [^]

Fixes issue 0028617: Sometimes the barcode scanner does not work at the first time
The buffer is clearead when clearing the input box

---
M web/org.openbravo.mobile.core/source/component/ob-keyboard.js
---