Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038454Retail ModulesWeb POSpublic2018-04-26 08:462018-06-18 09:09
Sandrahuguet 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
30Openbravo Appliance 14.04
 
RR18Q3 
marvintm
No
0038454: When master.Cashup fails a popup with reload button should be shown
When the cache of a terminal is cleared, or a new computer is used for the terminal, a request to master.Cashup is done to find out if there is a cashup pending to be processed in the backend. If there is, then it is loaded, and used for the terminal.

If there is not, then another request to the same class is done, to try to find the last cashup which was processed. This cashup is then used to initialize a new cashup, taking into account the amount to keep that was specified for every payment method.

If any of these requests fails, and no information about cashup is available in the local database, a popup with reload button should be shown, and the login should be prevented, because without this information, it's not possible to use the WebPOS correctly.
-In the database:
  update obpos_app_cashup set isprocessed='Y' isprocessedbo='Y'
  update obpos_paymentmethodcashup set amountttokeep=100
-Clear the cache
-In the code force and error in master.Cashup
-Log in WebPOS
No tags attached.
diff 38454_16q1.diff (2,969) 2018-04-26 08:47
https://issues.openbravo.com/file_download.php?file_id=11769&type=bug
Issue History
2018-04-26 08:46SandrahuguetNew Issue
2018-04-26 08:46SandrahuguetAssigned To => Retail
2018-04-26 08:46SandrahuguetTriggers an Emergency Pack => No
2018-04-26 08:47SandrahuguetFile Added: 38454_16q1.diff
2018-04-26 09:06marvintmResolution time => 1527112800
2018-04-26 09:06marvintmDescription Updatedbug_revision_view_page.php?rev_id=17061#r17061
2018-05-15 08:48marvintmSeverityminor => major
2018-05-28 10:50marvintmResolution time1527112800 => 1529100000
2018-05-28 15:01ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2018-05-28 15:02ranjith_qualiantech_comStatusnew => scheduled
2018-06-02 08:55hgbotCheckin
2018-06-02 08:55hgbotNote Added: 0104895
2018-06-02 08:55hgbotStatusscheduled => resolved
2018-06-02 08:55hgbotResolutionopen => fixed
2018-06-02 08:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/24dfb4346d24cec13df619d27e2a67869be70fc7 [^]
2018-06-18 09:09marvintmReview Assigned To => marvintm
2018-06-18 09:09marvintmStatusresolved => closed
2018-06-18 09:09marvintmFixed in Version => RR18Q3

Notes
(0104895)
hgbot   
2018-06-02 08:55   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 24dfb4346d24cec13df619d27e2a67869be70fc7
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Sat Jun 02 12:25:28 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/24dfb4346d24cec13df619d27e2a67869be70fc7 [^]

Fixed issue 38454 : Error should be shown if cashup data is not present while loading

---
M web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js
---