Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031790Retail ModulesWeb POSpublic2015-12-29 11:392016-02-01 11:09
aaroncalero 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR16Q2 
guilleaer
No
0031790: [SERQA 511] The Amount to Keep of a payment method is ignored on the cashup if the Select cash to keep step is skipped.
If we configure a payment method only with the ability to keep a fixed amount of cash for the cashup, this amount is not taken into account.
Configuration of the terminal (using whitevalley data):
Go to the Pos terminal window, select the VBS-1 terminal, and, on the payment
type subtab, deactivate non-cash methods.
Open the Cash payment type and navigate to the 'Cash' Payment method (Pos Terminal Type || Payment Method).
On the 'Cash Up' field group, uncheck 'Allow variable amount', 'allow not to move' and 'allow move everything'. Set 200 in Amount to Keep.
Do the same for the USA Cash payment type / USA Cash payment method.
Ensure that both payment methods are checked as 'Count cash'

Login in web pos using the vbs-1 terminal.
(optional) Create a ticket for 1000€.
Start a cashup (Menu > Cash Up).
On Step 1, count 1000€ in cash, 0€ in Usa Cash
On Step 2, verify that the Counted values show 1000€ and 0€.
Verify that the Next button ends on the Post, Print and Close step (remember there is only 1 option to keep cash).
Verify that the Total to Keep summary shows 200 for Usa Cash, and 1000 for Cash, instead of 0 and 200.
SER-QA
related to defect 0031783 closed guilleaer [SERQA 503] [Sessions] Differences in the open till process are not taken into account in the cash up. 
patch issue 31790 Source 5564.patch (1,715) 2016-01-07 18:02
https://issues.openbravo.com/file_download.php?file_id=8897&type=bug
Issue History
2015-12-29 11:39aaroncaleroNew Issue
2015-12-29 11:39aaroncaleroAssigned To => Retail
2015-12-29 11:39aaroncaleroResolution time => 1452553200
2015-12-29 11:39aaroncaleroTriggers an Emergency Pack => No
2015-12-29 11:40aaroncaleroSummaryThe Amount to Keep of a payment method is ignored on the cashup if the Select cash to keep step is skipped. => [SERQA 511] The Amount to Keep of a payment method is ignored on the cashup if the Select cash to keep step is skipped.
2015-12-29 11:40aaroncaleroTag Attached: SER-QA
2015-12-29 15:14aaroncaleroSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=10557#r10557
2016-01-04 13:39OrekariaStatusnew => acknowledged
2016-01-05 09:43hgbotCheckin
2016-01-05 09:43hgbotNote Added: 0083134
2016-01-05 11:14ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2016-01-05 11:14ranjith_qualiantech_comStatusacknowledged => scheduled
2016-01-05 16:37OrekariaRelationship addedrelated to 0031783
2016-01-07 18:02ranjith_qualiantech_comFile Added: issue 31790 Source 5564.patch
2016-01-09 09:01hgbotCheckin
2016-01-09 09:01hgbotCheckin
2016-01-09 09:01hgbotNote Added: 0083192
2016-01-09 09:01hgbotNote Added: 0083191
2016-01-09 09:01hgbotStatusscheduled => resolved
2016-01-09 09:01hgbotResolutionopen => fixed
2016-01-09 09:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/da6041b6f28abfaf529805071f1ef9dcc9eb3541 [^]
2016-01-09 09:01hgbotStatusscheduled => resolved
2016-01-29 18:26guilleaerNote Added: 0083749
2016-02-01 11:09guilleaerReview Assigned To => guilleaer
2016-02-01 11:09guilleaerNote Added: 0083778
2016-02-01 11:09guilleaerStatusresolved => closed
2016-02-01 11:09guilleaerFixed in Version => RR16Q2

Notes
(0083134)
hgbot   
2016-01-05 09:43   
Repository: tools/automation/pi-mobile
Changeset: 3a166ccc3ec818e98b6f939ff56df439b1885fc6
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Tue Jan 05 09:42:28 2016 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/3a166ccc3ec818e98b6f939ff56df439b1885fc6 [^]

Related to issue 31790: Add the 'I31790_CashupAmountToKeep' test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashup/I31790_CashupAmountToKeep.java
---
(0083191)
hgbot   
2016-01-09 09:01   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: da6041b6f28abfaf529805071f1ef9dcc9eb3541
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Sat Jan 09 13:31:03 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/da6041b6f28abfaf529805071f1ef9dcc9eb3541 [^]

Fixes issue 31790 : Show Amount to keep in cashup, if cash to keep step is disabled

---
M web/org.openbravo.retail.posterminal/js/closecash/view/tabcashtokeep.js
---
(0083192)
hgbot   
2016-01-09 09:01   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: da6041b6f28abfaf529805071f1ef9dcc9eb3541
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Sat Jan 09 13:31:03 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/da6041b6f28abfaf529805071f1ef9dcc9eb3541 [^]

Fixes issue 31790 : Show Amount to keep in cashup, if cash to keep step is disabled

---
M web/org.openbravo.retail.posterminal/js/closecash/view/tabcashtokeep.js
---
(0083749)
guilleaer   
2016-01-29 18:26   
to check with functional team:

If the user haven't done any transaction with USA cash, so the balance is 0, is correct to keep 200USD also in this case? there is no money for that payment method so it cannot be keept.

I think that if the system is configured to keep 200 but you have sold less than 200 it should keep the whole money. In the case that balance is > than 200 then 200 will be kept
(0083778)
guilleaer   
2016-02-01 11:09   
Code reviewed and tested.

A new issue related to this one will be raised, because when there is not enough cash in the drawer to keep default amount the system should inform to the user