Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029153Retail ModulesWeb POSpublic2015-03-06 03:032015-03-24 13:57
Orekaria 
Orekaria 
urgentcriticalalways
closedfixed 
5
 
RR15Q2 
adrianromero
Automated tests
RR15Q1.1
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/diff/7134637f5070/web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js [^]
Yes
0029153: The totalReturns amount of the payment methods fails to be sent to the server
The totalReturns amount of the payment methods fails to be sent to the server
log into the WebPOS

clean the cashup
create a sale
return a sale
verify that in WebSQL, the totalreturns is being updated
in the network tab of the browser, open the '../org.openbravo.mobile.core.service.jsonrest/org.openbravo.retail.posterminal.ProcessCashClose' transaction. open the cash payment methods segment of the json ('cashPaymentMethodInfo')

verify that a field called 'totalReturn' is appended (INCORRECT); instead of the 'totalReturns' field (CORRECT)
No tags attached.
depends on feature request 0028130RR15Q2 closed Orekaria Support creating tickets through multiple terminals with payment in other (central) devices 
depends on backport 0029179RR15Q1.3 closed Orekaria The totalReturns amount of the payment methods fails to be sent to the server 
caused by design defect 0027019RR15Q1 closed szapata In Q2 version cash ups and reconciliations are not being created properly 
blocks feature request 0028933RR16Q1 closed Retail QA: RR15Q2: Add tests for Mobile applications 
Issue History
2015-03-06 03:03OrekariaNew Issue
2015-03-06 03:03OrekariaAssigned To => marvintm
2015-03-06 03:03OrekariaTriggers an Emergency Pack => No
2015-03-06 03:03OrekariaRelationship addeddepends on 0028130
2015-03-06 03:04OrekariaRelationship addedblocks 0028933
2015-03-06 17:27OrekariaRegression introduced in release => RR15Q1.1
2015-03-06 17:27OrekariaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/diff/7134637f5070/web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js [^]
2015-03-06 17:27OrekariaRelationship addedcaused by 0027019
2015-03-06 17:35OrekariaSummaryWhen a layaway is void, the cashup is missing the returned amount => The totalReturns amount of the payment methods fails to be sent to the server
2015-03-06 17:35OrekariaDescription Updatedbug_revision_view_page.php?rev_id=7892#r7892
2015-03-06 17:35OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=7894#r7894
2015-03-06 18:32OrekariaRegression level => Automated tests
2015-03-06 18:32OrekariaPrioritynormal => urgent
2015-03-06 18:32OrekariaSeveritymajor => critical
2015-03-06 18:32OrekariaTriggers an Emergency PackNo => Yes
2015-03-06 18:43OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=7895#r7895
2015-03-07 21:27hgbotCheckin
2015-03-07 21:27hgbotNote Added: 0075265
2015-03-07 21:27hgbotStatusnew => resolved
2015-03-07 21:27hgbotResolutionopen => fixed
2015-03-07 21:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b984294889f4e50611c69311e13335549ffbdaa3 [^]
2015-03-07 21:28OrekariaAssigned Tomarvintm => Orekaria
2015-03-07 21:28OrekariaStatusresolved => new
2015-03-07 21:28OrekariaResolutionfixed => open
2015-03-07 21:28OrekariaStatusnew => scheduled
2015-03-07 21:28OrekariaStatusscheduled => resolved
2015-03-07 21:28OrekariaFixed in Version => RR15Q2
2015-03-07 21:28OrekariaResolutionopen => fixed
2015-03-09 00:20hgbotCheckin
2015-03-09 00:20hgbotNote Added: 0075281
2015-03-13 15:20adrianromeroReview Assigned To => adrianromero
2015-03-13 15:20adrianromeroNote Added: 0075572
2015-03-13 15:20adrianromeroStatusresolved => closed
2015-03-23 15:26hgbotCheckin
2015-03-23 15:26hgbotNote Added: 0075877
2015-03-23 15:26hgbotStatusclosed => resolved
2015-03-23 15:26hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b984294889f4e50611c69311e13335549ffbdaa3 [^] => http://code.openbravo.com/retail/backports/3.0RR15Q1.2/org.openbravo.retail.posterminal/rev/e90c089b0f693215e8ed4928dda05e2335c4d0bf [^]
2015-03-24 13:57malsasuaNote Added: 0075928
2015-03-24 13:57malsasuaStatusresolved => closed

Notes
(0075265)
hgbot   
2015-03-07 21:27   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: b984294889f4e50611c69311e13335549ffbdaa3
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Mar 06 17:19:57 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b984294889f4e50611c69311e13335549ffbdaa3 [^]

Fixes issue 29153: 'totalReturn' has been renamed to 'totalReturns'

The problem was that the information about the amounts returned for each payment method, were sent to the server with the field name 'totalReturn'

The field has been renamed to 'totalReturns'

---
M web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js
---
(0075281)
hgbot   
2015-03-09 00:20   
Repository: tools/automation/pi-mobile
Changeset: f472a492da0dbce927c1df3854b3a5062961f7ea
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sat Mar 07 23:11:22 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/f472a492da0dbce927c1df3854b3a5062961f7ea [^]

Related to issue 28933. Verifies issue 29153: Added 'I29153_CashupWithSaleAndReturnRetrieveFromServer' test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashup/I29153_CashupWithSaleAndReturnRetrieveFromServer.java
---
(0075572)
adrianromero   
2015-03-13 15:20   
Verified
(0075877)
hgbot   
2015-03-23 15:26   
Repository: retail/backports/3.0RR15Q1.2/org.openbravo.retail.posterminal
Changeset: e90c089b0f693215e8ed4928dda05e2335c4d0bf
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Mar 06 17:19:57 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q1.2/org.openbravo.retail.posterminal/rev/e90c089b0f693215e8ed4928dda05e2335c4d0bf [^]

Fixes issue 29153: 'totalReturn' has been renamed to 'totalReturns'

The problem was that the information about the amounts returned for each payment method, were sent to the server with the field name 'totalReturn'

The field has been renamed to 'totalReturns'

---
M web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js
---
(0075928)
malsasua   
2015-03-24 13:57   
verified in RR15Q1.2