Notes |
|
(0068283)
|
hgbot
|
2014-06-24 18:30
|
|
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: 678b862547316e17621f5b90a4b98527f9b881ac
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue Jun 24 18:30:27 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/678b862547316e17621f5b90a4b98527f9b881ac [^]
Fixes issue 0026921: 20 tills opened at the same time
The solution adopted is to guaranty that the open session process keeps as open only the sessions it has to open, other open sessions are considered to be erroneous and are purged
---
M src/org/openbravo/retail/sessions/OpenSessionPOS.java
---
|
|
|
(0068310)
|
adrianromero
|
2014-06-25 12:04
(edited on: 2014-06-25 12:21) |
|
|
|
(0068414)
|
hgbot
|
2014-06-27 15:28
|
|
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: 40eacee8936f5cf5309b63370fb6443f909db13c
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Jun 26 17:47:27 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/40eacee8936f5cf5309b63370fb6443f909db13c [^]
Issue 0026921: 20 tills opened at the same time
Adding a code identifier for tills
---
M src/org/openbravo/retail/sessions/OpenSessionPOS.java
M web/org.openbravo.retail.sessions/js/components/loginhook.js
M web/org.openbravo.retail.sessions/js/countcash/countcash-model.js
---
|
|
|
(0068415)
|
hgbot
|
2014-06-27 15:28
|
|
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: 0da5c2ed8953e82c332bc694c8dbd01fd5394b80
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Fri Jun 27 12:08:06 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/0da5c2ed8953e82c332bc694c8dbd01fd5394b80 [^]
Fixes issue 0026921: 20 tills opened at the same time
Checking code identifier in tills to avoid creating the same till session several times
---
M src-db/database/model/tables/POSS_TERMINALSESSIONS.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MENU.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
M src-db/database/sourcedata/OBUIAPP_PROCESS.xml
M src/org/openbravo/retail/sessions/OpenSessionPOS.java
---
|
|
|
(0068416)
|
hgbot
|
2014-06-27 15:28
|
|
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: b754bf8e21ad5d75b40ab600090fab3b988acb50
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Fri Jun 27 15:27:29 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/b754bf8e21ad5d75b40ab600090fab3b988acb50 [^]
Fixes issue 0026921: 20 tills opened at the same time
Cashup process will close only the terminal session associated by code
---
M src/org/openbravo/retail/sessions/CloseSessionActionHandler.java
M src/org/openbravo/retail/sessions/CloseSessionHook.java
M src/org/openbravo/retail/sessions/CloseSessionProcess.java
M src/org/openbravo/retail/sessions/SessionModel.java
M web/org.openbravo.retail.sessions/js/components/loginhook.js
M web/org.openbravo.retail.sessions/js/countcash/countcash-model.js
---
|
|
|
|
The solution implemented is a new identifier 'cashupCode' generated during the open session process and used during the close session process to identify the session record to close.
Logic implemented.
* When opening a session in the client side a 'cashupCode' is generated. This way when creating the open session record in the server side, the process can check whether the open session record is already created or not
* When executing a cashup process the 'cashupCode' is used to identify the session record that has to be closed. If it does not exist a new session record is generated.
* The server side close sessions process has been refactored to close all sessions open in the terminal selected |
|
|
(0070173)
|
hgbot
|
2014-09-17 12:42
|
|
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: 3d6f61e412f58ca9138dc6d529a516066dd350c1
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Wed Sep 17 12:40:45 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/3d6f61e412f58ca9138dc6d529a516066dd350c1 [^]
Issue 0026921: 20 tills opened at the same time
Prevents failure if there are still old values in localstorage
---
M web/org.openbravo.retail.sessions/js/components/loginhook.js
M web/org.openbravo.retail.sessions/js/countcash/countcash-model.js
---
|
|
|
(0070175)
|
hgbot
|
2014-09-17 13:45
|
|
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: 04fa37dd8ab2f45e8b3c859dccc70948b9b37235
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Wed Sep 17 13:45:43 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/04fa37dd8ab2f45e8b3c859dccc70948b9b37235 [^]
Issue 0026921: 20 tills opened at the same time
Prevents failure if there are still old values in localstorage
---
M web/org.openbravo.retail.sessions/js/components/loginhook.js
M web/org.openbravo.retail.sessions/js/countcash/countcash-model.js
---
|
|