Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039464Retail ModulesWeb POSpublic2018-06-29 09:252018-10-19 12:37
marvintm 
migueldejuana 
normalmajoralways
closedfixed 
5
 
RR18Q2.4RR18Q2.4 
marvintm
No
0039464: Ticket completion should be executed fully inside the same database transaction
After related issue https://issues.openbravo.com/view.php?id=38676 [^] some changes have been done to try to execute the whole ticket synchronization process in the same database transaction. However, there is one part which is still missing: the hook execution and the last save for the ticket which sets it to hasbeenpaid='Y' should also be part of the same database transaction, and currently they are not.
.
No tags attached.
blocks defect 0038862 closed migueldejuana Ticket completion should be executed fully inside the same database transaction 
Issue History
2018-10-16 18:07marvintmTypedefect => backport
2018-10-16 18:07marvintmTarget Version => RR18Q2.4
2018-10-17 10:02hgbotCheckin
2018-10-17 10:02hgbotNote Added: 0107363
2018-10-17 10:02hgbotStatusscheduled => resolved
2018-10-17 10:02hgbotResolutionopen => fixed
2018-10-17 10:02hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a3ae464ccea7b7727300427f943a50fdd8c3c091 [^] => http://code.openbravo.com/retail/backports/3.0RR18Q2.4/org.openbravo.retail.posterminal/rev/27fca2e96a3484276b4b2887133f3c7c79b9364d [^]
2018-10-19 12:37marvintmStatusresolved => closed
2018-10-19 12:37marvintmFixed in Version => RR18Q2.4

Notes
(0107363)
hgbot   
2018-10-17 10:02   
Repository: retail/backports/3.0RR18Q2.4/org.openbravo.retail.posterminal
Changeset: 27fca2e96a3484276b4b2887133f3c7c79b9364d
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Oct 17 10:02:07 2018 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR18Q2.4/org.openbravo.retail.posterminal/rev/27fca2e96a3484276b4b2887133f3c7c79b9364d [^]

Fixed issue 0039464: Ticket completion should be executed fully inside the same database transaction

-- Add a new hook better to avoid wrong implementations from other modules

---
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---