Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2015-12-28 13:042016-01-27 18:50
ReporteraaroncaleroView Statuspublic 
Assigned Toguilleaer 
PriorityhighResolutionfixedFixed in VersionRR16Q2
StatusclosedFix in branchFixed in SCM revision1a98c0e55202
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0031783: [SERQA 503] [Sessions] Differences in the open till process are not taken into account in the cash up.

DescriptionCash 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.
Steps To ReproduceInstall 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)
Attached Filesdiff file icon createCashManagmentUtility.diff [^] (18,425 bytes) 2016-01-07 22:46 [Show Content]
diff file icon createCashManagmentUtility_sessions.diff [^] (6,102 bytes) 2016-01-07 22:47 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0031790 closedranjith_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 closedOrekaria Stabilization: Remove the OB.UTILS namespace 
related to defect 0033172 closedjorge-garcia [SER QA 1245] Till differences generated during the initial count are not linked to a cashup 
related to defect 0033915pi closedjorge-garcia [SER QA1632] Cash Management synchronization is failing due to missing information related to cashup 

-  Notes
Orekaria (administrator)
2015-12-29 11:27

Verify if it is a regression
hgbot (developer)
2016-01-08 11:52

Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: 0e6ef7fb5d9a0f609d3eb986817bfa7ec83520ef
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at>>
Date: Fri Jan 08 09:39:04 2016 +0100
URL: [^]

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
hgbot (developer)
2016-01-08 14:42

Repository: tools/automation/pi-mobile
Changeset: a5741c3d6543b1fb8da85e835030d466cf3f9fe0
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at>>
Date: Fri Jan 08 11:28:34 2016 +0100
URL: [^]

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/
M src-test/org/openbravo/test/mobile/common/selenium/utils/
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/sessions/openstoretill/
hgbot (developer)
2016-01-08 14:42

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 1a98c0e55202dac4a309b49a871242565d104089
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at>>
Date: Fri Jan 08 09:24:05 2016 +0100
URL: [^]

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

  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.

  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)
  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/
M src/org/openbravo/retail/posterminal/term/
M src/org/openbravo/retail/posterminal/term/
A web/org.openbravo.retail.posterminal/js/utils/cashManagementUtils.js

- Issue History
Date Modified Username Field Change
2015-12-28 13:04 aaroncalero New Issue
2015-12-28 13:04 aaroncalero Assigned To => Retail
2015-12-28 13:04 aaroncalero Resolution time => 1452466800
2015-12-28 13:04 aaroncalero Triggers an Emergency Pack => No
2015-12-28 13:05 aaroncalero Tag Attached: SER-QA
2015-12-29 11:25 Orekaria Status new => acknowledged
2015-12-29 11:27 Orekaria Note Added: 0083042
2016-01-05 16:37 Orekaria Relationship added related to 0031790
2016-01-05 16:37 guilleaer Assigned To Retail => guilleaer
2016-01-05 16:37 guilleaer Status acknowledged => scheduled
2016-01-07 12:57 guilleaer File Added: createCashManagmentUtility.diff
2016-01-07 12:58 guilleaer File Added: createCashManagmentUtility_sessions.diff
2016-01-07 22:46 guilleaer File Deleted: createCashManagmentUtility.diff
2016-01-07 22:46 guilleaer File Deleted: createCashManagmentUtility_sessions.diff
2016-01-07 22:46 guilleaer File Added: createCashManagmentUtility.diff
2016-01-07 22:47 guilleaer File Added: createCashManagmentUtility_sessions.diff
2016-01-08 11:52 hgbot Checkin
2016-01-08 11:52 hgbot Note Added: 0083176
2016-01-08 11:52 hgbot Status scheduled => resolved
2016-01-08 11:52 hgbot Resolution open => fixed
2016-01-08 11:52 hgbot Fixed in SCM revision => [^]
2016-01-08 14:42 hgbot Checkin
2016-01-08 14:42 hgbot Note Added: 0083188
2016-01-08 14:42 hgbot Checkin
2016-01-08 14:42 hgbot Note Added: 0083189
2016-01-08 14:42 hgbot Fixed in SCM revision [^] => [^]
2016-01-27 18:49 marvintm Review Assigned To => marvintm
2016-01-27 18:49 marvintm Status resolved => closed
2016-01-27 18:50 marvintm Fixed in Version => RR16Q2
2016-04-27 16:44 Orekaria Relationship added related to 0032800
2016-06-07 16:59 aaroncalero Relationship added related to 0033172
2016-09-30 10:14 migueldejuana Relationship added related to 0033915

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker