Openbravo Issue Tracking System - POS2
View Issue Details
0049976POS2Restaurantspublic2022-08-09 11:562022-08-19 14:15
AugustoMauch 
meriem_azaf 
normalminoralways
closedfixed 
5
 
22Q3 
No
0049976: 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.
related to defect 0049889 closed meriem_azaf JIRA 3186 - QR code : Product quantity increase randomly. 
Issue History
2022-08-09 11:56AugustoMauchNew Issue
2022-08-09 11:56AugustoMauchAssigned To => meriem_azaf
2022-08-09 11:56AugustoMauchTriggers an Emergency Pack => No
2022-08-09 11:56AugustoMauchIssue generated from0049889
2022-08-09 12:00AugustoMauchTypedefect => backport
2022-08-09 12:01AugustoMauchNote Added: 0140001
2022-08-09 12:01AugustoMauchStatusnew => scheduled
2022-08-09 12:01AugustoMauchStatusscheduled => resolved
2022-08-09 12:01AugustoMauchResolutionopen => fixed
2022-08-09 12:01AugustoMauchStatusresolved => closed
2022-08-19 14:15AugustoMauchRelationship addedrelated to 0049889

Notes
(0140001)
AugustoMauch   
2022-08-09 12:01   
Pushed to 22Q3 branch with wrong issue number:

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