Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039909Retail ModulesWeb POSpublic2019-01-09 18:522019-02-06 15:20
aferraz 
ranjith_qualiantech_com 
normalminorhave not tried
closedfixed 
5
 
 
migueldejuana
No
0039909: Done, Layaway and Use Credit buttons should be disabled until calculateReceipt() has finished
Done, Layaway and Use Credit buttons should be disabled until calculateReceipt() has finished.

Use Process Controller to fix it.

Current validations made to avoid clicking those buttons when running calculateReceipt(), as OBPOS_ReceiptBeingPrepared error, could be removed.
*
No tags attached.
depends on backport 0040114RR19Q1 closed ranjith_qualiantech_com Done, Layaway and Use Credit buttons should be disabled until calculateReceipt() has finished 
Issue History
2019-01-09 18:52aferrazNew Issue
2019-01-09 18:52aferrazAssigned To => Retail
2019-01-09 18:52aferrazTriggers an Emergency Pack => No
2019-01-10 06:44ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-01-10 08:50ranjith_qualiantech_comStatusnew => scheduled
2019-01-11 12:34hgbotCheckin
2019-01-11 12:34hgbotNote Added: 0108923
2019-01-11 12:34hgbotStatusscheduled => resolved
2019-01-11 12:34hgbotResolutionopen => fixed
2019-01-11 12:34hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/693e6a2c2f52d08c6cb1bc5c566b58dd934cf4dd [^]
2019-02-04 09:17marvintmStatusresolved => new
2019-02-04 09:17marvintmResolutionfixed => open
2019-02-04 09:17marvintmStatusnew => scheduled
2019-02-04 09:17marvintmStatusscheduled => resolved
2019-02-04 09:17marvintmFixed in Version => RR19Q2
2019-02-04 09:17marvintmResolutionopen => fixed
2019-02-05 13:57migueldejuanaNote Added: 0109585
2019-02-05 13:57migueldejuanaStatusresolved => new
2019-02-05 13:57migueldejuanaResolutionfixed => open
2019-02-05 13:57migueldejuanaFixed in VersionRR19Q2 =>
2019-02-05 15:33ranjith_qualiantech_comStatusnew => scheduled
2019-02-06 15:11hgbotCheckin
2019-02-06 15:11hgbotNote Added: 0109638
2019-02-06 15:12hgbotCheckin
2019-02-06 15:12hgbotNote Added: 0109640
2019-02-06 15:12hgbotStatusscheduled => resolved
2019-02-06 15:12hgbotResolutionopen => fixed
2019-02-06 15:12hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/693e6a2c2f52d08c6cb1bc5c566b58dd934cf4dd [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5c5dbc6b6caa9f6eeda4b79c95ce9aeecb7da0f7 [^]
2019-02-06 15:20migueldejuanaReview Assigned To => migueldejuana
2019-02-06 15:20migueldejuanaNote Added: 0109643
2019-02-06 15:20migueldejuanaStatusresolved => closed
2019-02-07 09:57ranjith_qualiantech_comNote Deleted: 0109638

Notes
(0108923)
hgbot   
2019-01-11 12:34   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 693e6a2c2f52d08c6cb1bc5c566b58dd934cf4dd
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Jan 11 17:03:49 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/693e6a2c2f52d08c6cb1bc5c566b58dd934cf4dd [^]

Fixed issue 39909 : Added Process Controller to Done, Layaway and Credit Button

* Renamed Credit Button function putDisabled to setDisabled

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0109585)
migueldejuana   
2019-02-05 13:57   
* https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/693e6a2c2f52d08c6cb1bc5c566b58dd934cf4dd#l1.46 [^] , https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/693e6a2c2f52d08c6cb1bc5c566b58dd934cf4dd#l1.97 [^] and https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/693e6a2c2f52d08c6cb1bc5c566b58dd934cf4dd#l1.204 [^] do this:

var value = this.lastDisabledStatus || this.isLocked || false;

*
(0109640)
hgbot   
2019-02-06 15:12   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5c5dbc6b6caa9f6eeda4b79c95ce9aeecb7da0f7
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Feb 06 19:41:36 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5c5dbc6b6caa9f6eeda4b79c95ce9aeecb7da0f7 [^]

Fixed issue 39909 : Refactored Payment tab process buttons

* If Process Button is locked, then Process button should be disabled

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0109643)
migueldejuana   
2019-02-06 15:20   
Tested and reviewed