Openbravo Issue Tracking System - POS2
View Issue Details
0056618POS2POSpublic2024-10-02 11:502024-12-12 14:20
fdomingues 
SABARINATH P 
normalminoralways
closedfixed 
5
24Q3.1 
25Q1 
approved
No
No
0056618: Counting tool - Click inside the quantity field the full value is NOT selected after loss of focus
In the counting tool, when we click on a quantity field for the first time, its value is fully selected.
But if we click outside a quantity field and click again on the previous quantity field, the entire selection is no longer made and causes unexpected behavior when entering values.
See details in the video attached
Step1:
Click on 'Counted' field of payment method 'Cash' and 'Counting Tool' button if the counting tool is not automatically displayed.

In the Cash counting tool' click inside the 'Quantity' field line

Expected Result: The full value is selected

Step2:
Click outside the quantity field

Expected Result: The keypad area is greyed out

Step3:
Click inside the previous quantity field

Expected Result: The full value is selected
No tags attached.
? [24Q3] Counting tool - Click inside the quantity field.mp4 (1,836,163) 2024-10-02 11:50
https://issues.openbravo.com/file_download.php?file_id=20209&type=bug
Issue History
2024-10-02 11:50fdominguesNew Issue
2024-10-02 11:50fdominguesAssigned To => Retail
2024-10-02 11:50fdominguesFile Added: [24Q3] Counting tool - Click inside the quantity field.mp4
2024-10-02 11:50fdominguesTriggers an Emergency Pack => No
2024-10-24 19:08charlotte_vasseurNote Added: 0170917
2024-10-25 10:04charlotte_vasseurNote Added: 0170945
2024-11-04 15:43migueldejuanaStatusnew => scheduled
2024-11-04 15:43migueldejuanaAssigned ToRetail => SABARINATH P
2024-11-06 13:11hgbotMerge Request Status => open
2024-11-06 13:11hgbotNote Added: 0171545
2024-11-06 13:12hgbotNote Added: 0171546
2024-12-10 12:49hgbotMerge Request Statusopen => approved
2024-12-10 12:50hgbotResolutionopen => fixed
2024-12-10 12:50hgbotStatusscheduled => closed
2024-12-10 12:50hgbotNote Added: 0173135
2024-12-10 12:50hgbotFixed in Version => 25Q1
2024-12-10 12:50hgbotNote Added: 0173136
2024-12-10 12:50hgbotNote Added: 0173137
2024-12-10 12:50hgbotNote Added: 0173138
2024-12-10 14:39hgbotNote Added: 0173147
2024-12-12 14:20hgbotNote Added: 0173241

Notes
(0170917)
charlotte_vasseur   
2024-10-24 19:08   
Same issue on the quantity keypad of the product line
(0170945)
charlotte_vasseur   
2024-10-25 10:04   
Same issue on the price modification keypad of the product line
(0171545)
hgbot   
2024-11-06 13:11   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1633 [^]
(0171546)
hgbot   
2024-11-06 13:12   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3064 [^]
(0173135)
hgbot   
2024-12-10 12:50   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1633 [^]
(0173136)
hgbot   
2024-12-10 12:50   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 52360dc9a31849326d727076e7bdb5eec28813c1
Author: Sabarinath <s.palanisamy@external.orisha.com>
Date: 10-12-2024 11:38:58
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/52360dc9a31849326d727076e7bdb5eec28813c1 [^]

Fixed ISSUE-56618: Added onfocus parameter for additional purposes.

---
M web-jspack/org.openbravo.core2/src/components/BaseKeypad/BaseKeypad.jsx
M web-jspack/org.openbravo.core2/src/components/ComposedKeypad/ComposedKeypad.jsx
---
(0173137)
hgbot   
2024-12-10 12:50   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 51d70f356903da622c15d7a696eb72f2726dd581
Author: Sabarinath <s.palanisamy@external.orisha.com>
Date: 10-12-2024 11:38:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/51d70f356903da622c15d7a696eb72f2726dd581 [^]

Fixed ISSUE-56618: Selected input value when the input area focused.

---
M web-jspack/org.openbravo.pos2/src/components/Cashup/CountingToolDialog/CountingToolDialog.jsx
---
(0173138)
hgbot   
2024-12-10 12:50   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3064 [^]
(0173147)
hgbot   
2024-12-10 14:39   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: e9d8568f61a97f164e05786dc3502020ebce3fba
Author: Sabarinath <s.palanisamy@external.orisha.com>
Date: 10-12-2024 19:08:36
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/e9d8568f61a97f164e05786dc3502020ebce3fba [^]

Related ISSUE-56618: Resolved unwanter error by initializing onFocus.

---
M web-jspack/org.openbravo.core2/src/components/BaseKeypad/BaseKeypad.jsx
---
(0173241)
hgbot   
2024-12-12 14:20   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 3df03514590b57171e026c761bafbfb82b40c9bb
Author: Prakash Murugesan <p.murugesan@external.orisha.com>
Date: 12-12-2024 17:09:19
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/3df03514590b57171e026c761bafbfb82b40c9bb [^]

Related to ISSUE-56618: Fixed input field selection issue on clicking any number in keypad
* Allowed selection only on clicking the input field

---
M web-jspack/org.openbravo.core2/src/components/BaseKeypad/BaseKeypad.jsx
M web-jspack/org.openbravo.core2/src/components/ComposedKeypad/ComposedKeypad.jsx
---