Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047830Retail ModulesWeb POSpublic2021-10-08 13:252021-10-22 11:35
adrianromero 
adrianromero 
urgentcriticalalways
closedfixed 
5
 
pi 
jorge-garcia
No
0047830: The terminal POS does not scan properly barcodes when the environment is configured in French
In latest Ubuntu 20.04.3 and Chrome 94 with the OS keyboard layout configured as French AZERTY and the barcode scanner configured as a French AZERTY keyboard too. When reading a code with value "0123456789" the POS interprets "01234%67*9".

Note that with this configuration, if the barcode scanner is used in a regular text field like the text field used to search products, the code is read as expected when reading "0123456789" In the search text field the application displays "0123456789"

Observe that this behaviour is not reproducible in Ubuntu 20.04.2

Observe that if you configure the barcode scanner as a US keyboard, scanning codes in the SCAN tab will work properly but then scanning codes in text fields will not work.

NOTE: Similar error will appear also in Windows and other operating systems from version 20Q2 due to fix for issue 44671. The fix for this error also fixes 20Q2.
Log in in live builds: https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=VBS-1#login [^] with the VBS-1 terminal type configured with the flag "use external input" checked.

Configure the keyboard layout in the operating system as FR AZERTY and the barcode scanner as FR AZERTY too. If you do not have a barcode scanner, this issue can be also simulated with the keyboard.

In the SCAN tab read a numeric barcode or type a barcode number, for example "0123456789" Note that if using a keyboard, to type "0123456789" in a FR AZERTY keyboard, you have to keep pressed SHIFT.

Observe that the POS displays "01234%67*9" that is wrong.

Observe that if the code is read or typed in the search box, the POS will display propery "0123456789"


No tags attached.
related to defect 0044671RR21Q1 closed ranjith_qualiantech_com Problem with "-" being replaced by 6 in Scan Zone using French keyboard 
depends on backport 0047908RR21Q2.5 closed adrianromero The terminal POS does not scan properly barcodes when the environment is configured in French 
depends on backport 0047909RR21Q3.4 closed adrianromero The terminal POS does not scan properly barcodes when the environment is configured in French 
depends on backport 0047910RR21Q4.1 closed adrianromero The terminal POS does not scan properly barcodes when the environment is configured in French 
png scanner.png (157,250) 2021-10-21 09:55
https://issues.openbravo.com/file_download.php?file_id=16290&type=bug
png
Issue History
2021-10-08 13:25adrianromeroNew Issue
2021-10-08 13:25adrianromeroAssigned To => adrianromero
2021-10-08 13:25adrianromeroTriggers an Emergency Pack => No
2021-10-08 13:25adrianromeroStatusnew => scheduled
2021-10-08 13:25adrianromeroSummaryPOS does not scan properly barcodes when environment is configured in French => The terminal POS does not scan properly barcodes when the environment is configured in French
2021-10-08 13:29adrianromeroDescription Updatedbug_revision_view_page.php?rev_id=23167#r23167
2021-10-08 13:29adrianromeroDescription Updatedbug_revision_view_page.php?rev_id=23168#r23168
2021-10-08 13:29adrianromeroSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=23170#r23170
2021-10-08 13:30adrianromeroSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=23171#r23171
2021-10-08 15:31hgbotNote Added: 0132280
2021-10-08 15:31adrianromeroNote Added: 0132281
2021-10-08 15:33adrianromeroFile Added: fix0047830.diff
2021-10-08 15:34adrianromeroProposed Solution updated
2021-10-14 19:00hgbotNote Added: 0132353
2021-10-14 19:09adrianromeroFile Deleted: fix0047830.diff
2021-10-14 19:10adrianromeroProposed Solution updated
2021-10-18 09:43hgbotNote Added: 0132386
2021-10-18 09:43hgbotNote Added: 0132387
2021-10-18 12:07hgbotNote Added: 0132406
2021-10-18 16:41adrianromeroNote Added: 0132423
2021-10-20 12:32hgbotNote Added: 0132483
2021-10-20 12:32hgbotNote Added: 0132484
2021-10-20 12:32hgbotNote Added: 0132485
2021-10-20 12:32hgbotNote Added: 0132486
2021-10-20 12:35adrianromeroStatusscheduled => resolved
2021-10-20 12:35adrianromeroResolutionopen => fixed
2021-10-20 12:35adrianromeroReview Assigned To => jorge-garcia
2021-10-20 12:35adrianromeroStatusresolved => closed
2021-10-21 09:50adrianromeroDescription Updatedbug_revision_view_page.php?rev_id=23219#r23219
2021-10-21 09:51adrianromeroProposed Solution updated
2021-10-21 09:51adrianromeroRelationship addedrelated to 0044671
2021-10-21 09:54adrianromeroDescription Updatedbug_revision_view_page.php?rev_id=23220#r23220
2021-10-21 09:55adrianromeroFile Added: scanner.png
2021-10-21 18:14adrianromeroIssue cloned0047908
2021-10-21 18:14adrianromeroRelationship addeddepends on 0047908
2021-10-21 18:18adrianromeroIssue cloned0047909
2021-10-21 18:18adrianromeroRelationship addeddepends on 0047909
2021-10-21 18:19adrianromeroIssue cloned0047910
2021-10-21 18:19adrianromeroRelationship addeddepends on 0047910
2021-10-22 11:31hgbotNote Added: 0132569
2021-10-22 11:31hgbotNote Added: 0132570
2021-10-22 11:31hgbotNote Added: 0132571
2021-10-22 11:34hgbotNote Added: 0132573
2021-10-22 11:34hgbotNote Added: 0132574
2021-10-22 11:34hgbotNote Added: 0132575
2021-10-22 11:35hgbotNote Added: 0132577
2021-10-22 11:35hgbotNote Added: 0132578
2021-10-22 11:35hgbotNote Added: 0132579

Notes
(0132280)
hgbot   
2021-10-08 15:31   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/292 [^]
(0132281)
adrianromero   
2021-10-08 15:31   
Draft MR created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/292 [^]
(0132353)
hgbot   
2021-10-14 19:00   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/593 [^]
(0132386)
hgbot   
2021-10-18 09:43   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 188208da313332833361f58cbeef919434d9667e
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 2021-10-18T07:41:45+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/188208da313332833361f58cbeef919434d9667e [^]

Related ISSUE-0047830 Adds useBarcodeLayout field

---
M src-db/database/model/tables/OBPOS_TERMINALTYPE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0132387)
hgbot   
2021-10-18 09:43   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/593 [^]
(0132406)
hgbot   
2021-10-18 12:07   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 41687159bd5a11ebec04f27de950db1b217f11fd
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 2021-10-18T12:06:15+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/41687159bd5a11ebec04f27de950db1b217f11fd [^]

Revert "Related ISSUE-0047830 Adds useBarcodeLayout field"

This reverts commit 188208da313332833361f58cbeef919434d9667e.

---
M src-db/database/model/tables/OBPOS_TERMINALTYPE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0132423)
adrianromero   
2021-10-18 16:41   
Currently the merge requests for this issue are:
https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/292 [^]
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/597 [^]
(0132483)
hgbot   
2021-10-20 12:32   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 32fb67fb8ca41a6f5b2119dee4a319be9ebc7ebb
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 2021-10-14T19:10:33+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/32fb67fb8ca41a6f5b2119dee4a319be9ebc7ebb [^]

Related ISSUE-0047830 Shift algorithm keydown and keyup

---
M web/org.openbravo.mobile.core/source/component/ob-keyboard.js
M web/org.openbravo.mobile.core/source/component/ob-terminal-component.js
---
(0132484)
hgbot   
2021-10-20 12:32   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: e4d88492b1734c7b5cfcd19d4f8768dd17db8bde
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 2021-10-14T19:10:33+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/e4d88492b1734c7b5cfcd19d4f8768dd17db8bde [^]

Related ISSUE-0047830 Adds useBarcodeLayout field

---
M web/org.openbravo.mobile.core/source/component/ob-keyboard.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0132485)
hgbot   
2021-10-20 12:32   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/292 [^]
(0132486)
hgbot   
2021-10-20 12:32   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: f0eb1778a39ba594bf245c377d3b571136a52bc9
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 2021-10-20T10:31:27+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/f0eb1778a39ba594bf245c377d3b571136a52bc9 [^]

Related ISSUE-0047830 Adds useBarcodeLayout field

---
M src-db/database/model/tables/OBPOS_TERMINALTYPE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0132569)
hgbot   
2021-10-22 11:31   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 906a4221beba0dce69acc743cf9a726aa7acf0fb
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 2021-10-21T18:29:33+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/906a4221beba0dce69acc743cf9a726aa7acf0fb [^]

Related ISSUE-0047830 Shift algorithm keydown and keyup

---
M web/org.openbravo.mobile.core/source/component/ob-keyboard.js
M web/org.openbravo.mobile.core/source/component/ob-terminal-component.js
---
(0132570)
hgbot   
2021-10-22 11:31   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 9ba90730c1c00cf3327c453e589d1654029b4e6a
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 2021-10-21T18:29:44+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/9ba90730c1c00cf3327c453e589d1654029b4e6a [^]

Related ISSUE-0047830 Adds useBarcodeLayout field

---
M web/org.openbravo.mobile.core/source/component/ob-keyboard.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0132571)
hgbot   
2021-10-22 11:31   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: e477fa50946702e2539ba01322367d7860e7d5c6
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 2021-10-21T18:53:15+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/e477fa50946702e2539ba01322367d7860e7d5c6 [^]

Related ISSUE-0047830 Adds useBarcodeLayout field

---
M src-db/database/model/tables/OBPOS_TERMINALTYPE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0132573)
hgbot   
2021-10-22 11:34   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 71869460b9bfd138956164e53a17376a7124f13c
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 2021-10-21T18:31:33+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/71869460b9bfd138956164e53a17376a7124f13c [^]

Related ISSUE-0047830 Shift algorithm keydown and keyup

---
M web/org.openbravo.mobile.core/source/component/ob-keyboard.js
M web/org.openbravo.mobile.core/source/component/ob-terminal-component.js
---
(0132574)
hgbot   
2021-10-22 11:34   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: fde6d5feef9645ec29368c3a2b5a8695e68a610c
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 2021-10-21T18:31:42+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/fde6d5feef9645ec29368c3a2b5a8695e68a610c [^]

Related ISSUE-0047830 Adds useBarcodeLayout field

---
M web/org.openbravo.mobile.core/source/component/ob-keyboard.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0132575)
hgbot   
2021-10-22 11:34   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: bcb024ad8d45e0e3f6dec534d7bf25889d9180aa
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 2021-10-21T18:55:38+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/bcb024ad8d45e0e3f6dec534d7bf25889d9180aa [^]

Related ISSUE-0047830 Adds useBarcodeLayout field

---
M src-db/database/model/tables/OBPOS_TERMINALTYPE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0132577)
hgbot   
2021-10-22 11:35   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 784aef9f69d8f5564a70bacb170cb6b020c7697b
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 2021-10-22T09:15:21+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/784aef9f69d8f5564a70bacb170cb6b020c7697b [^]

Related ISSUE-0047830 Shift algorithm keydown and keyup

---
M web/org.openbravo.mobile.core/source/component/ob-keyboard.js
M web/org.openbravo.mobile.core/source/component/ob-terminal-component.js
---
(0132578)
hgbot   
2021-10-22 11:35   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: baa4d4e8f5f9543fb3053be681e370ff728c21ae
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 2021-10-22T09:15:21+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/baa4d4e8f5f9543fb3053be681e370ff728c21ae [^]

Related ISSUE-0047830 Adds useBarcodeLayout field

---
M web/org.openbravo.mobile.core/source/component/ob-keyboard.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0132579)
hgbot   
2021-10-22 11:35   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 5a23e2d19569ceb15eab1478cba1c4a60c16efbe
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 2021-10-22T11:15:38+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/5a23e2d19569ceb15eab1478cba1c4a60c16efbe [^]

Related ISSUE-0047830 Adds useBarcodeLayout field

---
M src-db/database/model/tables/OBPOS_TERMINALTYPE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---