Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032764Retail ModulesWeb POSpublic2016-04-22 12:032016-06-01 14:51
umartirena 
guillermogil 
urgentmajoralways
closedfixed 
5
 
RR16Q3 
marvintm
Pre packaging ( pi )
No
0032764: [RFID] [SER-QA 956] Use External Input flag makes the Product Search selector unusable
Use External Input flag makes the Product Search selector unusable. If this flag is checked in POS Terminal Type, when you try to put the focus on product search selector to try to write anything, it automatically moves the focus to the scan. So it is very difficult to filter by anything on product search selector
In Openbravo ERP:
 * Go to POS Terminal Type window. Check "Use External Input" flag.
 * Go to Web POS.
 * Click on Search.
 * Put the focus on search filter and try to write something.
 * Realize that the focus is removed from search and is set to scan. So whatever you try to write in search it will be written in scan, and this is not correct. The focus should not be moved to scan in this situation.
SER-QA
depends on backport 0032883RR16Q2 closed guillermogil [RFID] [RR16Q2] [SER-QA 956] Use External Input flag makes the Product Search selector unusable 
Issue History
2016-04-22 12:03umartirenaNew Issue
2016-04-22 12:03umartirenaAssigned To => Retail
2016-04-22 12:03umartirenaResolution time => 1462485600
2016-04-22 12:03umartirenaTriggers an Emergency Pack => No
2016-04-22 12:23VictorVillarSummaryUse External Input flag makes the Product Search selector unusable => [SER-QA 956] Use External Input flag makes the Product Search selector unusable
2016-04-22 12:23VictorVillarTag Attached: SER-QA
2016-04-22 14:10OrekariaSummary[SER-QA 956] Use External Input flag makes the Product Search selector unusable => [RR16Q2] [SER-QA 956] Use External Input flag makes the Product Search selector unusable
2016-04-22 14:10OrekariaStatusnew => acknowledged
2016-04-26 09:56VictorVillarRegression level => Production - QA Approved
2016-04-26 13:16jorge-garciaStatusacknowledged => scheduled
2016-04-26 13:16jorge-garciaAssigned ToRetail => jorge-garcia
2016-04-27 10:50OrekariaSummary[RR16Q2] [SER-QA 956] Use External Input flag makes the Product Search selector unusable => [RFID] [RR16Q2] [SER-QA 956] Use External Input flag makes the Product Search selector unusable
2016-04-28 09:40hgbotCheckin
2016-04-28 09:40hgbotNote Added: 0086046
2016-04-28 09:40hgbotStatusscheduled => resolved
2016-04-28 09:40hgbotResolutionopen => fixed
2016-04-28 09:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/712e7f5cf91c4a08924c199ce3453f84e2586976 [^]
2016-04-28 10:13jorge-garciaAssigned Tojorge-garcia => guillermogil
2016-04-28 10:14jorge-garciaReview Assigned To => marvintm
2016-04-28 10:50jorge-garciaNote Added: 0086047
2016-05-06 10:30OrekariaStatusresolved => new
2016-05-06 10:30OrekariaResolutionfixed => open
2016-05-06 10:30OrekariaStatusnew => scheduled
2016-05-06 10:31OrekariaStatusscheduled => resolved
2016-05-06 10:31OrekariaFixed in Version => RR16Q3
2016-05-06 10:31OrekariaResolutionopen => fixed
2016-05-06 15:17marvintmStatusresolved => closed
2016-06-01 14:51guillermogilRegression levelProduction - QA Approved => Pre packaging ( pi )
2016-06-01 14:51guillermogilSummary[RFID] [RR16Q2] [SER-QA 956] Use External Input flag makes the Product Search selector unusable => [RFID] [SER-QA 956] Use External Input flag makes the Product Search selector unusable

Notes
(0086046)
hgbot   
2016-04-28 09:40   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 712e7f5cf91c4a08924c199ce3453f84e2586976
Author: Guillermo Gil <guillermo.gil <at> openbravo.com>
Date: Thu Apr 28 09:40:17 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/712e7f5cf91c4a08924c199ce3453f84e2586976 [^]

Fixed issue 32764: Use External Input flag makes the Product Search selector unusable

There is a wrong scope. this is window so scanMode is always undefined.

---
M web/org.openbravo.mobile.core/source/component/ob-terminal-component.js
---
(0086047)
jorge-garcia   
2016-04-28 10:50   
Before closing, try in Android if this code can be deleted from scanningFocus function:

setTimeout(function () {
          if (this.scanMode || (document.activeElement.tagName !== 'INPUT' && document.activeElement.tagName !== 'SELECT' && document.activeElement.tagName !== 'TEXTAREA')) {
            keeper = document.getElementById('_focusKeeper');
            keeper.focus();
          }
        }, 500);