Openbravo Issue Tracking System - POS2
View Issue Details
0047827POS2POSpublic2021-10-07 18:402021-10-22 12:43
lorenzofidalgo 
Retail 
normalminoralways
closedfixed 
5
pi 
 
No
0047827: Pad buttons are not enabled after clicking "Show All Payment Mt" inside Cash up window
Inside the Cash Up window, after clicking the "Show All Payment Mt" button, the pad buttons are disabled and they are NOT activated after clicking in the numbers input field in the specific file. Those buttons are activated if the user clicks in the file BUT outside the numbers area.
(Check the video with the wrong behaviour -> https://drive.google.com/file/d/1HH-Gj9f4-75SnsxfCNyBGUa7ynWQ_x5-/view?usp=sharing [^])
0-Login POS2 as vallblanca.
1-Go to Cash up window and click "Show All Payment Mt" button at the top right.
2-Click in the numbers area inside the first row and realise the bottom right buttons from the PAD are not enabled.
3-Now, click in that same first row, BUT click in a different area than the numbers input field. Now, the buttons will be enabled. DEFECT: In both cases those buttons must be enabled.
No tags attached.
Issue History
2021-10-07 18:40lorenzofidalgoNew Issue
2021-10-07 18:40lorenzofidalgoAssigned To => Retail
2021-10-07 18:40lorenzofidalgoTriggers an Emergency Pack => No
2021-10-07 18:42lorenzofidalgoDescription Updatedbug_revision_view_page.php?rev_id=23163#r23163
2021-10-08 10:33guilleaerStatusnew => acknowledged
2021-10-08 11:45ebecerraStatusacknowledged => scheduled
2021-10-13 10:27hgbotNote Added: 0132312
2021-10-13 10:31hgbotNote Added: 0132313
2021-10-22 10:35hgbotResolutionopen => fixed
2021-10-22 10:35hgbotStatusscheduled => closed
2021-10-22 10:35hgbotNote Added: 0132561
2021-10-22 10:35hgbotNote Added: 0132562
2021-10-22 10:36hgbotNote Added: 0132563
2021-10-22 10:36hgbotNote Added: 0132564
2021-10-22 10:36hgbotNote Added: 0132565
2021-10-22 11:58hgbotNote Added: 0132583
2021-10-22 12:25hgbotNote Added: 0132584
2021-10-22 12:43hgbotNote Added: 0132587
2021-10-22 12:43hgbotNote Added: 0132588

Notes
(0132312)
hgbot   
2021-10-13 10:27   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/646 [^]
(0132313)
hgbot   
2021-10-13 10:31   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/703 [^]
(0132561)
hgbot   
2021-10-22 10:35   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 662f49a501e65f3975856ece036f6e53eb7d9441
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 2021-10-22T08:35:18+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/662f49a501e65f3975856ece036f6e53eb7d9441 [^]

Fixes ISSUE-47827 Pad buttons are not enabled after clicking "Show All Payment Mt" inside Cash up window

---
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSteps/CountDisplay/CountDisplay.jsx
---
(0132562)
hgbot   
2021-10-22 10:35   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/703 [^]
(0132563)
hgbot   
2021-10-22 10:36   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/646 [^]
(0132564)
hgbot   
2021-10-22 10:36   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: b3b552dc33303554a97b18fee9dc96ce832e42b2
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 2021-10-22T08:35:14+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/b3b552dc33303554a97b18fee9dc96ce832e42b2 [^]

Fixes ISSUE-47827 Add timeout to "onFocusIn" and remove timeout to "onFocusOut"

---
M web-jspack/org.openbravo.core2/src/hooks/useEditNumber/useEditNumber.js
---
(0132565)
hgbot   
2021-10-22 10:36   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 1d9e44ad6c002098de12d5bf09e8e6b57a6001e7
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 2021-10-22T08:35:14+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/1d9e44ad6c002098de12d5bf09e8e6b57a6001e7 [^]

Related ISSUE-47827: Add a empty timeout to "onFocusOut" to prevent "changing state in an unmounted component" error

---
M web-jspack/org.openbravo.core2/src/hooks/useEditNumber/useEditNumber.js
---
(0132583)
hgbot   
2021-10-22 11:58   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/653 [^]
(0132584)
hgbot   
2021-10-22 12:25   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/653 [^]
(0132587)
hgbot   
2021-10-22 12:43   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 0f93cff1e0748fab24059681a9d31065d3538450
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 2021-10-22T12:41:38+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/0f93cff1e0748fab24059681a9d31065d3538450 [^]

Related ISSUE-47827: Add a comment to useEditNumber.onFocusIn

---
M web-jspack/org.openbravo.core2/src/hooks/useEditNumber/useEditNumber.js
---
(0132588)
hgbot   
2021-10-22 12:43   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/653 [^]