Openbravo Issue Tracking System - POS2
View Issue Details
0050482POS2POSpublic2022-10-11 12:462023-02-19 08:21
Irune_Monreal 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
 
23Q2 
No
0050482: [22Q4 - Sales] Initial count not working properly when using the keypad
When the Counted field is filled using the keypad many errors have been noticed, if you use the cross button to clean the field
Log in on a POS
Click on "show all payment mt"
Click in the "Counted" field for any payment Method.
Perform the following actions using the onscreen keypad
Insert 52
Click in the cross to clean the field
-> 00.00 appears
Insert 9
   -> 52.09 appears (WRONG)
Insert number 7 (any number > 5)
   -> 52.10 appears
Insert number 2 (any number < 5)
   -> 52.09 appears (WRONG)
Click in the erase button
   -> 52.03 appears (WRONG)
Click in the erase button
   -> 52.27 appears (WRONG)
Click in the erase button
   -> 52270.00 appears (WRONG)
Click in the cross to clean the field
   -> 00.00 appears
Insert number 4
   -> 522740.00 appears (WRONG)
FASH
has duplicate defect 0050693 closed Retail Cash Up - problem entering the amount 
? issue50482.mp4 (624,664) 2022-11-02 11:34
https://issues.openbravo.com/file_download.php?file_id=17744&type=bug
Issue History
2022-10-11 12:46Irune_MonrealNew Issue
2022-10-11 12:46Irune_MonrealAssigned To => Retail
2022-10-11 12:46Irune_MonrealTriggers an Emergency Pack => No
2022-10-11 12:56Irune_MonrealSummary[Sales] Initial count not working properly => [22Q4 - Sales] Initial count not working properly
2022-10-11 14:14Irune_MonrealSummary[22Q4 - Sales] Initial count not working properly => [22Q4 - Sales] Initial count not working properly when using the keypad
2022-10-11 14:14Irune_MonrealDescription Updatedbug_revision_view_page.php?rev_id=24866#r24866
2022-10-11 14:14Irune_MonrealSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=24868#r24868
2022-10-12 12:06rafarodaTag Attached: FASH
2022-10-13 09:07Irune_MonrealFile Added: Screencast from 13-10-22 09:05:50.webm
2022-10-13 10:46Irune_MonrealFile Deleted: Screencast from 13-10-22 09:05:50.webm
2022-11-02 11:16plujanRelationship addedhas duplicate 0050693
2022-11-02 11:34Irune_MonrealFile Added: issue50482.mp4
2023-02-13 06:37ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-02-13 09:14ranjith_qualiantech_comStatusnew => scheduled
2023-02-15 09:11hgbotNote Added: 0146554
2023-02-19 08:21hgbotResolutionopen => fixed
2023-02-19 08:21hgbotStatusscheduled => closed
2023-02-19 08:21hgbotNote Added: 0146718
2023-02-19 08:21hgbotFixed in Version => 23Q2
2023-02-19 08:21hgbotNote Added: 0146719

Notes
(0146554)
hgbot   
2023-02-15 09:11   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/977 [^]
(0146718)
hgbot   
2023-02-19 08:21   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/977 [^]
(0146719)
hgbot   
2023-02-19 08:21   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 5ed8c453c099e9798921940d30147710b11dc616
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 19-02-2023 07:19:41
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/5ed8c453c099e9798921940d30147710b11dc616 [^]

Fixed ISSUE-50482: Keypad value should be updated when input value is changed
* When clear event is triggered in input box, keypad value should be updated
  in the blur event
* Content in input box should be selected after focusing the element

---
M web-jspack/org.openbravo.core2/src/hooks/useEditNumber/useEditNumber.js
---