Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039331Retail ModulesWeb POSpublic2018-09-03 17:072018-09-24 12:11
Leyre 
ranjith_qualiantech_com 
immediateminoralways
closedfixed 
5
 
RR18Q3.1RR18Q3.1 
marvintm
OBPS
4397
No
0039331: Button Cancel in pop up "Printer and display are not available" does not work.
When a sales order is finalized and the printer is not available, a pop-up window appears:

"Printer and display are not available
There was an error when printing the ticket in 'Main Terminal Printer'. Do you want to try to print again?"

it seems that the focus is on the Cancel button, but if you press "Intro" with the keyboard, it does nothing
BACKEND
1. Configure a POS Terminal with a Hardware URL but, do not open any printer.

POS TERMINAL
1. Create a new receipt and pay it.
2. The pop-up window"Printer and display are not available" appears.
3. Press "Cancel" button

* Verify that the button does not works.
* This began to work incorrectly in version 18Q3
After discussing , as retry is the default action in the component, the focus should be on "Retry" button instead of "Cancel" button
No tags attached.
blocks defect 0039217 closed ranjith_qualiantech_com Button Cancel in pop up "Printer and display are not available" does not work. 
Issue History
2018-09-20 16:37marvintmTypedefect => backport
2018-09-20 16:37marvintmTarget Version => RR18Q3.2
2018-09-21 08:33hgbotCheckin
2018-09-21 08:33hgbotNote Added: 0106915
2018-09-21 08:37hgbotCheckin
2018-09-21 08:37hgbotNote Added: 0106916
2018-09-21 08:37hgbotStatusscheduled => resolved
2018-09-21 08:37hgbotResolutionopen => fixed
2018-09-21 08:37hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/09a92acad18c074bdf9854229f1492ac0fee59ad [^] => http://code.openbravo.com/retail/backports/3.0RR18Q3.1/org.openbravo.mobile.core/rev/a31cb90a456689767ba784b63a79147da5eecb54 [^]
2018-09-24 12:10marvintmTarget VersionRR18Q3.2 => RR18Q3.1
2018-09-24 12:11marvintmStatusresolved => closed
2018-09-24 12:11marvintmFixed in Version => RR18Q3.1

Notes
(0106915)
hgbot   
2018-09-21 08:33   
Repository: retail/backports/3.0RR18Q3.1/org.openbravo.retail.posterminal
Changeset: 2cf2fecfc4bf9838372fcc540cb96d6cfaf7066c
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Sep 21 12:03:18 2018 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q3.1/org.openbravo.retail.posterminal/rev/2cf2fecfc4bf9838372fcc540cb96d6cfaf7066c [^]

Related to issue 39331 : Property isDefaultAction should be used in Confirmation Button to set defaultAction in Popups

---
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js
---
(0106916)
hgbot   
2018-09-21 08:37   
Repository: retail/backports/3.0RR18Q3.1/org.openbravo.mobile.core
Changeset: a31cb90a456689767ba784b63a79147da5eecb54
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Sep 21 12:03:27 2018 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q3.1/org.openbravo.mobile.core/rev/a31cb90a456689767ba784b63a79147da5eecb54 [^]

Fixed issue 39331 : Property isDefaultAction should be used to set defaultAction in Popups

* While forming Buttons in popup, isDefaultAction property of button should be used for Popup Default Action

---
M web/org.openbravo.mobile.core/source/component/ob-commonbuttons.js
M web/org.openbravo.mobile.core/source/utils/ob-utilitiesui.js
---