Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041835Retail ModulesWeb POSpublic2019-09-18 12:432019-09-24 18:08
adrianromero 
adrianromero 
normalminorhave not tried
closedfixed 
5
 
RR19Q4 
marvintm
No
0041835: Add confirm dialog function that return a Promise
To work better with other async functions based in Promises it is needed a wrapper for the function OB.UTIL.showConfirmation.display() that return a Promise that succeeds in the case the user presses OK and fails if CANCEL
N/A
No tags attached.
Issue History
2019-09-18 12:43adrianromeroNew Issue
2019-09-18 12:43adrianromeroAssigned To => adrianromero
2019-09-18 12:43adrianromeroTriggers an Emergency Pack => No
2019-09-18 12:44adrianromeroReview Assigned To => marvintm
2019-09-18 12:46hgbotCheckin
2019-09-18 12:46hgbotNote Added: 0114633
2019-09-18 12:46hgbotStatusnew => resolved
2019-09-18 12:46hgbotResolutionopen => fixed
2019-09-18 12:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7dd07a9ebe53b77bc8ba01b9924487ac24d55307 [^]
2019-09-18 12:49hgbotCheckin
2019-09-18 12:49hgbotNote Added: 0114635
2019-09-24 18:08marvintmStatusresolved => closed
2019-09-24 18:08marvintmFixed in Version => RR19Q4

Notes
(0114633)
hgbot   
2019-09-18 12:46   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 7dd07a9ebe53b77bc8ba01b9924487ac24d55307
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Wed Sep 18 12:46:25 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7dd07a9ebe53b77bc8ba01b9924487ac24d55307 [^]

Fixes issue 41835: Add confirm dialog function that return a Promise
It also removes OB.UTIL.question as it is already replaced by the new function OB.DIALOGS.confirm

---
M src/org/openbravo/mobile/core/MobileCoreComponentProvider.java
M web/org.openbravo.mobile.core/source/utils/ob-utilitiesui.js
A web/org.openbravo.mobile.core/source/utils/dialogs.js
---
(0114635)
hgbot   
2019-09-18 12:49   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 986aac8a043fe37d8f494a92d7071dc1172c5125
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Wed Sep 18 12:48:59 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/986aac8a043fe37d8f494a92d7071dc1172c5125 [^]

Related to issue 41835: Add confirm dialog function that return a Promise
Uses the new OB.UTILS.confirm function

---
M web/org.openbravo.retail.posterminal/js/actions/changeprice.js
M web/org.openbravo.retail.posterminal/js/actions/changequantity.js
---