Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031783Retail ModulesWeb POSpublic2015-12-28 13:042016-01-27 18:50
aaroncalero 
guilleaer 
highmajoralways
closedfixed 
5
 
RR16Q2 
marvintm
No
0031783: [SERQA 503] [Sessions] Differences in the open till process are not taken into account in the cash up.
Cash differences generated on the Open Till process (part of the Sessions Management module) are not taken into account by the application and they are not reflected on following cashups.
Install the Retail Sessions Management module (org.openbravo.retail.sessions).
Login in web pos and perform a cashup, keeping 200€. After the cashup is finished the application will automatically log out.
Log in again. The Open Till process will be shown.
The expected amount will be 200€ (the amount kept on the previous cashup).
Count 300€, so a difference of 100€ is generated.
Approve the difference to continue loading the application.

At this point we have told the application that we have 300€ in cash, but the application doesn't register that difference:
Start a Cashup process and verify that the expected amount is 200€ (wrong), instead of 300€ (ok)
SER-QA
related to defect 0031790 closed ranjith_qualiantech_com [SERQA 511] The Amount to Keep of a payment method is ignored on the cashup if the Select cash to keep step is skipped. 
related to defect 0032800 closed Orekaria Stabilization: Remove the OB.UTILS namespace 
related to defect 0033172 closed jorge-garcia [SER QA 1245] Till differences generated during the initial count are not linked to a cashup 
related to defect 0033915pi closed jorge-garcia [SER QA1632] Cash Management synchronization is failing due to missing information related to cashup 
diff createCashManagmentUtility.diff (18,425) 2016-01-07 22:46
https://issues.openbravo.com/file_download.php?file_id=8898&type=bug
diff createCashManagmentUtility_sessions.diff (6,102) 2016-01-07 22:47
https://issues.openbravo.com/file_download.php?file_id=8899&type=bug
Issue History
2015-12-28 13:04aaroncaleroNew Issue
2015-12-28 13:04aaroncaleroAssigned To => Retail
2015-12-28 13:04aaroncaleroResolution time => 1452466800
2015-12-28 13:04aaroncaleroTriggers an Emergency Pack => No
2015-12-28 13:05aaroncaleroTag Attached: SER-QA
2015-12-29 11:25OrekariaStatusnew => acknowledged
2015-12-29 11:27OrekariaNote Added: 0083042
2016-01-05 16:37OrekariaRelationship addedrelated to 0031790
2016-01-05 16:37guilleaerAssigned ToRetail => guilleaer
2016-01-05 16:37guilleaerStatusacknowledged => scheduled
2016-01-07 12:57guilleaerFile Added: createCashManagmentUtility.diff
2016-01-07 12:58guilleaerFile Added: createCashManagmentUtility_sessions.diff
2016-01-07 22:46guilleaerFile Deleted: createCashManagmentUtility.diff
2016-01-07 22:46guilleaerFile Deleted: createCashManagmentUtility_sessions.diff
2016-01-07 22:46guilleaerFile Added: createCashManagmentUtility.diff
2016-01-07 22:47guilleaerFile Added: createCashManagmentUtility_sessions.diff
2016-01-08 11:52hgbotCheckin
2016-01-08 11:52hgbotNote Added: 0083176
2016-01-08 11:52hgbotStatusscheduled => resolved
2016-01-08 11:52hgbotResolutionopen => fixed
2016-01-08 11:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/0e6ef7fb5d9a0f609d3eb986817bfa7ec83520ef [^]
2016-01-08 14:42hgbotCheckin
2016-01-08 14:42hgbotNote Added: 0083188
2016-01-08 14:42hgbotCheckin
2016-01-08 14:42hgbotNote Added: 0083189
2016-01-08 14:42hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/0e6ef7fb5d9a0f609d3eb986817bfa7ec83520ef [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1a98c0e55202dac4a309b49a871242565d104089 [^]
2016-01-27 18:49marvintmReview Assigned To => marvintm
2016-01-27 18:49marvintmStatusresolved => closed
2016-01-27 18:50marvintmFixed in Version => RR16Q2
2016-04-27 16:44OrekariaRelationship addedrelated to 0032800
2016-06-07 16:59aaroncaleroRelationship addedrelated to 0033172
2016-09-30 10:14migueldejuanaRelationship addedrelated to 0033915

Notes
(0083042)
Orekaria   
2015-12-29 11:27   
Verify if it is a regression
(0083176)
hgbot   
2016-01-08 11:52   
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: 0e6ef7fb5d9a0f609d3eb986817bfa7ec83520ef
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Fri Jan 08 09:39:04 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/0e6ef7fb5d9a0f609d3eb986817bfa7ec83520ef [^]

Fixed issue 31783: A new utility to create cash managment transactions will be used to register differences when the till is opened

---
M web/org.openbravo.retail.sessions/js/countcash/countcash-model.js
---
(0083188)
hgbot   
2016-01-08 14:42   
Repository: tools/automation/pi-mobile
Changeset: a5741c3d6543b1fb8da85e835030d466cf3f9fe0
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Fri Jan 08 11:28:34 2016 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/a5741c3d6543b1fb8da85e835030d466cf3f9fe0 [^]

Related to issue 31783: Add test to verify correct behavior when there are differences when till is opened

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
M src-test/org/openbravo/test/mobile/common/selenium/utils/ApplicationWindow.java
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/sessions/openstoretill/I31783_DifferencesNotShownInCashup.java
---
(0083189)
hgbot   
2016-01-08 14:42   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 1a98c0e55202dac4a309b49a871242565d104089
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Fri Jan 08 09:24:05 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1a98c0e55202dac4a309b49a871242565d104089 [^]

Fixed issue 31783: A utility method has been created to add Cash managment events.

Arguments:
  newCashMangmentTransaction is a backbone model which includes the following fields
  amount -> the amount to be drop or deposited.
  cashManagementEvent -> An item from OB.MobileApp.model.get('cashMgmtDropEvents') or OB.MobileApp.model.get('cashMgmtDepEvents')
      including type = drop or deposit
  paymentMethod -> An item from OB.MobileApp.model.get('payments') which will be used to drop or deposit the amount.

Options:
  printTicket: boolean flag to print a ticet when operation is created (Default: true)
  ticketTemplate: Alternative template for printing (Default: standard cash managment template)
  executeSync: Execute sync process once finish (Default: yes)
  glItem: Use an specific GLItem (Default: glItem for Drops or glItem for Deposits based on the type of transaction)
Result:
  This method will create the cash managment transaction and will update paymentmethodscashup information.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/posterminal/OBPOSComponentProvider.java
M src/org/openbravo/retail/posterminal/term/CashMgmtDepositEvents.java
M src/org/openbravo/retail/posterminal/term/CashMgmtDropEvents.java
A web/org.openbravo.retail.posterminal/js/utils/cashManagementUtils.js
---