Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028989Retail ModulesWeb POSpublic2015-02-18 18:492015-12-30 16:12
guilleaer 
guilleaer 
normalminoralways
closedfixed 
5
 
RR16Q1RR16Q1 
Orekaria
No
0028989: scanningfocus(false) is not working
This issue affects to Mobile Core

Every call to
OB.MobileApp.view.scanningFocus(false);
is not doing nothing because the other param force is not set to true.

If force is not set, the code never will do the following return

     if (!this.scanMode && forced) {
       return;
     }

because force param will be undefined. Hence, the engine will set again the focus in the focuskeeper.
Having the focuskeeper enabled, debug the code when OB.MobileApp.view.scanningFocus(false);
is executed.

You will see that the return is not executed and focuskeeper get's the focus again.
Remove the second parameter.
No tags attached.
blocks defect 0031785 closed jorge-garcia There are wrong characters appearing on UPC search. 
Issue History
2015-02-18 18:49guilleaerNew Issue
2015-02-18 18:49guilleaerAssigned To => guilleaer
2015-02-18 18:49guilleaerTriggers an Emergency Pack => No
2015-02-18 18:56hgbotCheckin
2015-02-18 18:56hgbotNote Added: 0074626
2015-02-18 18:56hgbotStatusnew => resolved
2015-02-18 18:56hgbotResolutionopen => fixed
2015-02-18 18:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f105846b86add67a4a602ad513892abec0054b95 [^]
2015-02-19 16:25migueldejuanaReview Assigned To => migueldejuana
2015-02-19 16:25migueldejuanaNote Added: 0074667
2015-02-19 16:25migueldejuanaStatusresolved => closed
2015-02-19 16:29migueldejuanaNote Added: 0074668
2015-02-19 16:29migueldejuanaStatusclosed => new
2015-02-19 16:29migueldejuanaResolutionfixed => open
2015-02-19 16:31migueldejuanaStatusnew => scheduled
2015-02-19 16:31migueldejuanafix_in_branch => pi
2015-02-19 16:31migueldejuanaStatusscheduled => resolved
2015-02-19 16:31migueldejuanaResolutionopen => fixed
2015-03-09 13:50malsasuaNote Added: 0075317
2015-03-09 13:50malsasuaStatusresolved => new
2015-03-09 13:50malsasuaResolutionfixed => open
2015-03-30 20:12marvintmTarget VersionRR15Q2 => RR15Q3
2015-06-15 18:16marvintmTarget VersionRR15Q3 => RR15Q4
2015-09-29 14:34OrekariaTarget VersionRR15Q4 => RR16Q1
2015-09-29 14:34Orekariafix_in_branchpi =>
2015-12-21 18:41OrekariaTarget VersionRR16Q1 => RR16Q2
2015-12-28 11:40OrekariaStatusnew => scheduled
2015-12-30 16:11OrekariaRelationship addedblocks 0031785
2015-12-30 16:11OrekariaStatusscheduled => resolved
2015-12-30 16:11OrekariaResolutionopen => fixed
2015-12-30 16:11OrekariaReview Assigned Tomigueldejuana => Orekaria
2015-12-30 16:11OrekariaStatusresolved => closed
2015-12-30 16:11OrekariaFixed in Version => RR16Q1
2015-12-30 16:12OrekariaTarget VersionRR16Q2 => RR16Q1
2015-12-30 16:12OrekariaNote Added: 0083080

Notes
(0074626)
hgbot   
2015-02-18 18:56   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: f105846b86add67a4a602ad513892abec0054b95
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Wed Feb 18 18:55:23 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f105846b86add67a4a602ad513892abec0054b95 [^]

Fixed bug 28989: Focus keeper cannot be disabled

* Not used parameter force have been removed because it is not being used
* The value of that parameter is not used any more
* When keeper is enabled, the system try to get the value from focuskeeper to set the terminal textbox

---
M web/org.openbravo.mobile.core/source/component/ob-keyboard.js
M web/org.openbravo.mobile.core/source/component/ob-terminal-component.js
---
(0074667)
migueldejuana   
2015-02-19 16:25   
Tested and reviewed in dc521597d18e
(0074668)
migueldejuana   
2015-02-19 16:29   
Need to be tested with barcode scanner and in different tablets
(0075317)
malsasua   
2015-03-09 13:50   
there is a case that it is not working fine:
. login
. new receipt
. click in browse
. click in Avalanche Transceiver -> product is added
. click in the line created
. in detail window: click in "return line" button -> qty -1 is displayed
. in keyboard click in the next keys: 12345678
only is displayed the numbers: 2468

without this changeset, all numbers are displayed
(0083080)
Orekaria   
2015-12-30 16:12   
the issue has been finally fixed in https://issues.openbravo.com/view.php?id=31785 [^]