Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028448Retail ModulesReturn Receiptpublic2014-12-18 11:512015-01-22 19:25
sureshbabu 
malsasua 
urgentmajoralways
closedfixed 
5
 
RR15Q1 
malsasua
Production - QA Approved
2014-07-18
RR14Q3
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3a16de6afe0e [^]
No
0028448: [RR14Q3.3] Check enough cash does not work when cash in the counter is zero
Check enough cash does not work when cash in the counter is zero
1) complete a cash up process, without keeping any cash.
2)create a receipt for any amount and pay the receipt using cash payment method
3) Then using verified returns, return the entire receipt using cash payment method
4) Then create a return receipt using "return this receipt" option and try to pay through cash payment method.

Defect: system wrongly allows the user to complete the return receipt using cash payment method, enough the cash at the counter is zero.("There is not enough cash available" message not appearing)
No tags attached.
related to defect 0028714 closed Orekaria Verified returns incorrectly update the cash balance 
Issue History
2014-12-18 11:51sureshbabuNew Issue
2014-12-18 11:51sureshbabuAssigned To => marvintm
2014-12-18 11:51sureshbabuTriggers an Emergency Pack => No
2014-12-18 11:52sureshbabuAssigned Tomarvintm => malsasua
2014-12-18 18:37hgbotCheckin
2014-12-18 18:37hgbotNote Added: 0072711
2014-12-18 18:37hgbotStatusnew => resolved
2014-12-18 18:37hgbotResolutionopen => fixed
2014-12-18 18:37hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8ed1e75a1a290686e09df3ce9456e281d3f71e2e [^]
2014-12-21 00:56mtaalReview Assigned To => mtaal
2014-12-21 00:56mtaalNote Added: 0072746
2014-12-21 00:56mtaalStatusresolved => closed
2014-12-21 00:56mtaalFixed in Version => RR15Q1
2014-12-22 16:21malsasuaStatusclosed => new
2014-12-22 16:21malsasuaResolutionfixed => open
2014-12-22 16:21malsasuaFixed in VersionRR15Q1 =>
2014-12-22 16:23malsasuaRegression level => Production - QA Approved
2014-12-22 16:23malsasuaRegression date => 2014-07-18
2014-12-22 16:23malsasuaRegression introduced in release => RR14Q3
2014-12-22 16:23malsasuaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3a16de6afe0e [^]
2014-12-22 16:23malsasuaStatusnew => scheduled
2014-12-22 16:23malsasuafix_in_branch => pi
2014-12-22 16:23malsasuaStatusscheduled => resolved
2014-12-22 16:23malsasuaFixed in Version => RR15Q1
2014-12-22 16:23malsasuaResolutionopen => fixed
2014-12-22 16:24malsasuaReview Assigned Tomtaal => malsasua
2014-12-22 16:24malsasuaNote Added: 0072774
2014-12-22 16:24malsasuaStatusresolved => closed
2015-01-21 12:57OrekariaRelationship addedrelated to 0028714
2015-01-21 23:56hgbotCheckin
2015-01-21 23:56hgbotNote Added: 0073704
2015-01-22 19:25hgbotCheckin
2015-01-22 19:25hgbotNote Added: 0073741

Notes
(0072711)
hgbot   
2014-12-18 18:37   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 8ed1e75a1a290686e09df3ce9456e281d3f71e2e
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Thu Dec 18 18:36:56 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8ed1e75a1a290686e09df3ce9456e281d3f71e2e [^]

fixed issue 28448:totalReturns is negative, so it is added instead of substract to calculate the cash

---
M web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js
---
(0072746)
mtaal   
2014-12-21 00:56   
Reviewed and tested
(0072774)
malsasua   
2014-12-22 16:24   
reopened to update the regression info
(0073704)
hgbot   
2015-01-21 23:56   
Repository: tools/automation/pi-mobile
Changeset: 12bdcc45d9ac4fb3e5f1564e3ede33706d32acf5
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Wed Jan 21 14:33:15 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/12bdcc45d9ac4fb3e5f1564e3ede33706d32acf5 [^]

Related to issue 28448 and issue 28714: Added 2 tests to verify that the 'No cash available' warning

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/suites/ReceiptSuite.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/returns/I28448_NoCashAvailable.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/returns/I28714_NoCashAvailableII.java
---
(0073741)
hgbot   
2015-01-22 19:25   
Repository: tools/automation/pi-mobile
Changeset: 044ddd83025165a7ccc6f30356034863ac6b02cb
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Thu Jan 22 18:35:47 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/044ddd83025165a7ccc6f30356034863ac6b02cb [^]

Related to issue 28448 and issue 28714: Activated related tests and added 2 tests more

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/suites/CashupSuite.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/suites/SalesSuite.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/suites/deactivated/TestsAwaitingFixesSuite.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashup/I28714_VerifyTotalReturns.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashup/I28714_VerifyTotalReturnsII.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/returns/I28714_NoCashAvailableWithCashupCheck.java
---