Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039946Retail ModulesWeb POSpublic2019-01-15 07:502019-02-13 17:34
migueldejuana 
ranjith_qualiantech_com 
normalminoralways
closedfixed 
5
 
 
migueldejuana
No
No
0039946: There are 2 updateDocumentSequenceWhenOrderSaved without tx
There are 2 updateDocumentSequenceWhenOrderSaved with no transaction, so if something in the code fails we will get a wrong status.

1.- File dataorderSave.js line 569: It is when we process multiorder. We have to put in a transaction updateDocumentSequenceWhenOrderSaved, calculateCurrentCash and more things also.

2.- File model/order.js line 6149 inside markOrderAsDeleted: It is when we delete an order. We need to check what we have to put inside the transaction.
n/a
No tags attached.
Issue History
2019-01-15 07:50migueldejuanaNew Issue
2019-01-15 07:50migueldejuanaAssigned To => Retail
2019-01-15 07:50migueldejuanaOBNetwork customer => No
2019-01-15 07:50migueldejuanaTriggers an Emergency Pack => No
2019-01-18 07:40ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-01-21 14:46ranjith_qualiantech_comStatusnew => scheduled
2019-01-22 12:48hgbotCheckin
2019-01-22 12:48hgbotNote Added: 0109070
2019-01-22 12:48hgbotStatusscheduled => resolved
2019-01-22 12:48hgbotResolutionopen => fixed
2019-01-22 12:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ba3e4550e479577a35860bd925d90d53ef9c9470 [^]
2019-02-13 17:34migueldejuanaReview Assigned To => migueldejuana
2019-02-13 17:34migueldejuanaNote Added: 0109812
2019-02-13 17:34migueldejuanaStatusresolved => closed

Notes
(0109070)
hgbot   
2019-01-22 12:48   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ba3e4550e479577a35860bd925d90d53ef9c9470
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jan 22 17:18:38 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ba3e4550e479577a35860bd925d90d53ef9c9470 [^]

Fixed issue 39946 : Added OB DAL transaction to missed OB Dal functions while closing multiorder and deleting ticket

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0109812)
migueldejuana   
2019-02-13 17:34   
Tested and reviewed