Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041067Retail ModulesCash Managementpublic2019-06-11 10:002019-06-18 18:48
migueldejuana 
migueldejuana 
normalmajorsometimes
closedfixed 
5
 
RR19Q3 
guilleaer
No
0041067: Cash management object is global and therefore can be modified after the user has confirmed that the ticket should be processed
Currently the cash management object is global, accessible by different asynchronous processes, and therefore as the process to complete the cash management is asynchronous, it is possible that modifications happen after the user has confirmed that the ticket should be processed.

It is not possible to avoid the execution of parallel asynchronous processes. However, it is possible to avoid that the execution of these processes changes the information of the current cash management, by cloning the information of the cash mgmt synchronously when the cash mgmt completion process starts, so that from that point on, the cloned cash mgmt is used to execute the completion process.
n/a
No tags attached.
related to design defect 0039228 closed migueldejuana Receipt object is global and therefore can be modified after the user has confirmed that the ticket should be processed 
related to defect 0041851 closed migueldejuana Cash management synchronization must be done in one transaction 
Issue History
2019-06-11 10:00migueldejuanaNew Issue
2019-06-11 10:00migueldejuanaAssigned To => Retail
2019-06-11 10:00migueldejuanaTriggers an Emergency Pack => No
2019-06-11 10:01migueldejuanaRelationship addedrelated to 0039228
2019-06-11 10:09migueldejuanaSummaryCash managmeent object is global and therefore can be modified after the user has confirmed that the ticket should be processed => Cash management object is global and therefore can be modified after the user has confirmed that the ticket should be processed
2019-06-11 15:49migueldejuanaAssigned ToRetail => migueldejuana
2019-06-11 16:20ngarciaIssue Monitored: ngarcia
2019-06-11 16:23ngarciaResolution time => 1562018400
2019-06-17 13:36hgbotCheckin
2019-06-17 13:36hgbotNote Added: 0112821
2019-06-17 13:36hgbotStatusnew => resolved
2019-06-17 13:36hgbotResolutionopen => fixed
2019-06-17 13:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f2c8c567015dc8aa5831e0e3be29e7ca88de994a [^]
2019-06-17 13:36hgbotCheckin
2019-06-17 13:36hgbotNote Added: 0112822
2019-06-17 13:36hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f2c8c567015dc8aa5831e0e3be29e7ca88de994a [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/96ceed50bd302297ad0d54b600334b9cf01297d2 [^]
2019-06-18 18:48guilleaerReview Assigned To => guilleaer
2019-06-18 18:48guilleaerStatusresolved => closed
2019-06-18 18:48guilleaerFixed in Version => RR19Q3
2019-09-18 16:18migueldejuanaRelationship addedrelated to 0041851

Notes
(0112821)
hgbot   
2019-06-17 13:36   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: f2c8c567015dc8aa5831e0e3be29e7ca88de994a
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Jun 11 10:08:40 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f2c8c567015dc8aa5831e0e3be29e7ca88de994a [^]

Fixed issue 0041067: Cash management object is global and therefore can be modified after the user has confirmed that the ticket should be processed

- Instead of do a get and then an update, do directly and update checking the column hasbeenpaid instead of the json.

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
---
(0112822)
hgbot   
2019-06-17 13:36   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 96ceed50bd302297ad0d54b600334b9cf01297d2
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Jun 17 09:32:14 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/96ceed50bd302297ad0d54b600334b9cf01297d2 [^]

Fixed issue 0041067: Cash management object is global and therefore can be modified after the user has confirmed that the ticket should be processed

- Format js file again

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
---