Openbravo Issue Tracking System - Retail Modules
View Issue Details
0043950Retail ModulesCash uppublic2020-02-27 16:102020-05-07 09:25
inaki_garcia 
prakashmurugesan88 
immediateminoralways
closedfixed 
5
main 
RR20Q2RR20Q2 
marvintm
Packaging and release
No
0043950: [20Q1] [NewSkin] Switching layout breaks scrolling in the "Post, print and close" step of the Cashup window in touch devices
Going from landscape to portrait and viceversa breaks the ability to scroll in the "Post, print and close" steps of the cashup, regardless of the orientation of any
of the touch devices.

This issue is treated as a regression, as it isn't reproducible as such in the 19Q4 release and earlier.

NOTE: it is also reproducible in desktop with chrome developers tools emulating a mobile device
0. Log in the POS as "vallblanca"
1. Select the "Cash up" option from the dropdown menu
2. Place the device in portrait mode and try to scroll through the denominations in the "Count cash" step
3. Place the device in landscape mode and scroll
NOTICE that scroll works correctly
4. Complete all the steps upto the "Post, print and close" step
5. Place the device in portrait mode and try to scroll
NOTICE that the scroll doesn't work
6. Place the device in landscape mode and try to scroll
NOTICE that the issue is also present here, regardless of orientation
No tags attached.
blocks defect 0043360 closed prakashmurugesan88 [20Q1] [NewSkin] Switching layout breaks scrolling in the "Post, print and close" step of the Cashup window in touch devices 
Issue History
2020-05-05 17:54marvintmTypedefect => backport
2020-05-05 17:54marvintmTarget Version => RR20Q2
2020-05-06 08:28hgbotCheckin
2020-05-06 08:28hgbotNote Added: 0119606
2020-05-06 08:28hgbotStatusscheduled => resolved
2020-05-06 08:28hgbotResolutionopen => fixed
2020-05-06 08:28hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/aa0d686e8de9f42bbd24aa6a1116f74ebf7cac33 [^] => http://code.openbravo.com/retail/backports/3.0RR20Q2/org.openbravo.retail.posterminal/rev/993376c9fad70b3e2034fd66b1a0e0bb84ca3302 [^]
2020-05-07 09:25marvintmReview Assigned To => marvintm
2020-05-07 09:25marvintmStatusresolved => closed
2020-05-07 09:25marvintmFixed in Version => RR20Q2

Notes
(0119606)
hgbot   
2020-05-06 08:28   
Repository: retail/backports/3.0RR20Q2/org.openbravo.retail.posterminal
Changeset: 993376c9fad70b3e2034fd66b1a0e0bb84ca3302
Author: Prakash M <prakash <at> qualiantech.com>
Date: Wed May 06 11:57:59 2020 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR20Q2/org.openbravo.retail.posterminal/rev/993376c9fad70b3e2034fd66b1a0e0bb84ca3302 [^]

Fixed BUG-43950: Switching layout in Cashup window in touch devices breaks
scrolling

* Related issue 42968 fixes only count cash step
* resizeHandler must be implemented generic to cashup

* resize handled generically
* Therefore components will be re-rendered with proper scrollbar after resize.
* Timeout is set as re-render must happen after window resize complete

---
M web/org.openbravo.retail.posterminal/js/closecash/view/closecash.js
M web/org.openbravo.retail.posterminal/js/closecash/view/tabcashpayments.js
---