Openbravo Issue Tracking System - POS2
View Issue Details
0049889POS2Restaurantspublic2022-07-27 16:152022-08-09 12:23
Felixaka 
meriem_azaf 
normalmajoralways
closedfixed 
5
 
22Q4 
No
0049889: JIRA 3186 - QR code : Product quantity increase randomly.
When we add a product by doing long tips and clicking on “Add product”,

If we scan a QR code, the quantity of the product that has been selected before the scan will increase randomly.
→ Go on the POS (In FS test)

→ Select an article: Long tips on it, then click on “Add to receipt) (For exemple : “Boisson cacao)

→ Scan a Qr code (Not in console dev)

→ See that the quantity of the article added previously will increase randomly

→ See that articles from the QR code are well displayed
No tags attached.
has duplicate defect 0049784 closed ranjith_qualiantech_com [22Q3] Barcode scanner adds two products if the EAN field is focused 
related to backport 004997622Q3 closed meriem_azaf JIRA 3186 - QR code : Product quantity increase randomly. 
Issue History
2022-07-27 16:15FelixakaNew Issue
2022-07-27 16:15FelixakaAssigned To => Retail
2022-07-27 16:15FelixakaTriggers an Emergency Pack => No
2022-08-05 11:38AugustoMauchAssigned ToRetail => meriem_azaf
2022-08-09 08:56hgbotNote Added: 0139994
2022-08-09 10:21hgbotNote Added: 0139996
2022-08-09 10:21hgbotResolutionopen => fixed
2022-08-09 10:21hgbotStatusnew => resolved
2022-08-09 10:21hgbotFixed in Version => 22Q4
2022-08-09 10:21hgbotNote Added: 0139997
2022-08-09 10:50hgbotFixed in Version22Q4 => 22Q3
2022-08-09 10:50hgbotNote Added: 0139999
2022-08-09 11:29AugustoMauchStatusresolved => closed
2022-08-09 11:56AugustoMauchIssue cloned0049976
2022-08-09 12:23plujanFixed in Version22Q3 => 22Q4
2022-08-11 08:53AugustoMauchRelationship addedhas duplicate 0049784
2022-08-19 14:15AugustoMauchRelationship addedrelated to 0049976

Notes
(0139994)
hgbot   
2022-08-09 08:56   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/815 [^]
(0139996)
hgbot   
2022-08-09 10:21   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/815 [^]
(0139997)
hgbot   
2022-08-09 10:21   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 94670bb40bd4dc4b4212e2e6cad51ac85a895c0f
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 09-08-2022 10:19:56
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/94670bb40bd4dc4b4212e2e6cad51ac85a895c0f [^]

Fixes ISSUE-49889: JIRA 3186 - Support disabling button clicks when pressing space or enter key

In some environments there is a need to be able to press the space or
enter key while the focus is on a button but want to prevent the button
from being clicked. This need may come from instance when scanning QR
codes that contains spaces/carriage returns.

To support this a new preferene has been created that when set to true
will disable the click of buttons when the space or enter key are
pressed.

---
M src-db/database/sourcedata/AD_REF_LIST.xml
M web-jspack/org.openbravo.core2/src/components/BaseButton/BaseButton.jsx
M web-jspack/org.openbravo.core2/src/components/BaseButton/__test__/BaseButton.test.jsx
---
(0139999)
hgbot   
2022-08-09 10:50   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: b8a427b17a994e968b715bebff6467722f6302c1
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 09-08-2022 10:50:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/b8a427b17a994e968b715bebff6467722f6302c1 [^]

Fixes ISSUE-49889: JIRA 3186 - Support disabling button clicks when pressing space or enter key

In some environments there is a need to be able to press the space or
enter key while the focus is on a button but want to prevent the button
from being clicked. This need may come from instance when scanning QR
codes that contains spaces/carriage returns.

To support this a new preferene has been created that when set to true
will disable the click of buttons when the space or enter key are
pressed.

---
M src-db/database/sourcedata/AD_REF_LIST.xml
M web-jspack/org.openbravo.core2/src/components/BaseButton/BaseButton.jsx
M web-jspack/org.openbravo.core2/src/components/BaseButton/__test__/BaseButton.test.jsx
---