Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040485Retail ModulesCash uppublic2019-03-07 13:412019-04-11 13:03
malsasua 
rqueralta 
highmajorhave not tried
closedfixed 
5
 
RR18Q4.3RR18Q4.3 
marvintm
No
0040485: Cashup with corrupted data is synced after to update to 18Q3
When cashup has not been completed in one terminal, and system is updated to 18Q3, the payment method cashup info is corrupted in local database. This info is updated to current balance of financial account of payments.
BO:
. Cash financial account - current balance 0

POS:
. login
. complete cashup -> total to keep for cash payment method: 0
. complete a new sales order SO1 -> amount 10
(Cash financial account - current balance 10)

UPDATE TO 18Q3
POS:
. login
. complete cashup -> starting cash is displaying amount 10 and it should be 0
Verify into OB.UTIL.initcashup function if any tables related with the cash up process was rebuilded. If it was done, is necessary eliminate the others related tables, at the beginning of the process. By doing this, we recover all the backend data.
No tags attached.
blocks defect 0040337 closed rqueralta Cashup with corrupted data is synced after to update to 18Q3 
Issue History
2019-03-28 18:00guilleaerTypedefect => backport
2019-03-28 18:00guilleaerTarget Version => RR18Q4.3
2019-04-01 20:22hgbotCheckin
2019-04-01 20:22hgbotNote Added: 0110954
2019-04-01 20:22hgbotStatusscheduled => resolved
2019-04-01 20:22hgbotResolutionopen => fixed
2019-04-01 20:22hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c74d6f059b735e2b45163a54886035c9829cbc49 [^] => http://code.openbravo.com/retail/backports/3.0RR18Q4.3/org.openbravo.mobile.core/rev/6565d88df89ea24d358cfd42f7b67817cfabd88e [^]
2019-04-11 13:03marvintmReview Assigned Toguilleaer => marvintm
2019-04-11 13:03marvintmStatusresolved => closed
2019-04-11 13:03marvintmFixed in Version => RR18Q4.3

Notes
(0110954)
hgbot   
2019-04-01 20:22   
Repository: retail/backports/3.0RR18Q4.3/org.openbravo.mobile.core
Changeset: 6565d88df89ea24d358cfd42f7b67817cfabd88e
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Mon Apr 01 13:49:18 2019 -0400
URL: http://code.openbravo.com/retail/backports/3.0RR18Q4.3/org.openbravo.mobile.core/rev/6565d88df89ea24d358cfd42f7b67817cfabd88e [^]

Fixed issue 40485: Cashup with corrupted data is synced after to update to 18Q3

- If one table related to Cash Up process is rebuilded, is necessary rebuild all
the related tables. "relatedTablesToRebuild" function was added to do it. This
way we reload all Cash Up data from the backend.

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---