Openbravo Issue Tracking System - Retail Modules
View Issue Details
0026570Retail ModulesWeb POSpublic2014-05-16 12:232014-06-27 16:25
Orekaria 
adrianromero 
immediatemajoralways
closedfixed 
5
 
RR14Q3RR14Q3 
Orekaria
Coding ( Testing )
No
0026570: Cash deposit fails to deposit
Cash deposit fails to deposit
Login WebPOS as Vallblanca

open the 'cash management' menu
add a cash deposit of 1.000€
click 'done'

open the 'cash management' again
verify that the quantity has not been deposited
Regression
pdf CashUpReport.jrxml.pdf (10,937) 2014-06-05 12:46
https://issues.openbravo.com/file_download.php?file_id=6991&type=bug
Issue History
2014-05-16 12:23OrekariaNew Issue
2014-05-16 12:23OrekariaAssigned To => malsasua
2014-05-16 12:23OrekariaTriggers an Emergency Pack => No
2014-06-05 12:45jGaleronNote Added: 0067779
2014-06-05 12:46jGaleronFile Added: CashUpReport.jrxml.pdf
2014-06-16 17:28malsasuaRegression level => Coding ( Testing )
2014-06-16 17:43malsasuaTag Attached: Regression
2014-06-18 12:05adrianromeroAssigned Tomalsasua => adrianromero
2014-06-18 12:05adrianromeroStatusnew => scheduled
2014-06-19 15:05hgbotCheckin
2014-06-19 15:05hgbotNote Added: 0068167
2014-06-19 15:05hgbotStatusscheduled => resolved
2014-06-19 15:05hgbotResolutionopen => fixed
2014-06-19 15:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2ff0c77622aeee876e28436cfff8b0461addebb5 [^]
2014-06-19 15:06hgbotCheckin
2014-06-19 15:06hgbotNote Added: 0068168
2014-06-19 15:06hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2ff0c77622aeee876e28436cfff8b0461addebb5 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c8eb3be7a5fb4c4ab9d2a5c0246a793b6584a45f [^]
2014-06-20 13:11adrianromeroNote Added: 0068229
2014-06-20 13:11adrianromeroStatusresolved => new
2014-06-20 13:11adrianromeroResolutionfixed => open
2014-06-23 17:19hgbotCheckin
2014-06-23 17:19hgbotNote Added: 0068261
2014-06-23 17:19hgbotStatusnew => resolved
2014-06-23 17:19hgbotResolutionopen => fixed
2014-06-23 17:19hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c8eb3be7a5fb4c4ab9d2a5c0246a793b6584a45f [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6e82c5567c83dd668b0e8db9f896924d2973ca81 [^]
2014-06-27 16:25OrekariaReview Assigned To => Orekaria
2014-06-27 16:25OrekariaNote Added: 0068421
2014-06-27 16:25OrekariaStatusresolved => closed
2014-06-27 16:25OrekariaFixed in Version => RR14Q3

Notes
(0067779)
jGaleron   
2014-06-05 12:45   
I have the same problem with the withdrawals.
In fact, the system seems to automatically create the balancing transaction with the same amount.
See attached file : I have created a withdrawal of 10€ and the system generates a deposit of 10€.
(0068167)
hgbot   
2014-06-19 15:05   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 2ff0c77622aeee876e28436cfff8b0461addebb5
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Jun 19 15:05:32 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2ff0c77622aeee876e28436cfff8b0461addebb5 [^]

Fixes issue 0026570: Cash deposit fails to deposit
Adding new behaviour for models synchronization: If model is marked as *isPersistent* records are not removed after synchronized, just marked as processed

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0068168)
hgbot   
2014-06-19 15:06   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c8eb3be7a5fb4c4ab9d2a5c0246a793b6584a45f
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Jun 19 15:01:08 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c8eb3be7a5fb4c4ab9d2a5c0246a793b6584a45f [^]

Fixes issue 0026570: Cash deposit fails to deposit
Marks the CashManagement model as persistent

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0068229)
adrianromero   
2014-06-20 13:11   
It is still missing the transaction that must be done with the ERP to register the management cash transaction.
(0068261)
hgbot   
2014-06-23 17:19   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 6e82c5567c83dd668b0e8db9f896924d2973ca81
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Mon Jun 23 17:15:50 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6e82c5567c83dd668b0e8db9f896924d2973ca81 [^]

Fixes issue 0026570: Cash deposit fails to deposit
It is required to do flush to persist changes before commiting

---
M src/org/openbravo/mobile/core/process/DataSynchronizationProcess.java
---
(0068421)
Orekaria   
2014-06-27 16:25   
Tested in rev. 3690 of retail.posterminal
The pi-mobile test CMGa10_CashManagementDeposit if now passing