Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029558Retail ModulesCash Managementpublic2015-04-10 10:032015-05-04 19:37
lorenzofidalgo 
Retail 
immediateminoralways
closedfixed 
5
main 
RR15Q3 
marvintm
Packaging and release
RR15Q2
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f9782f460468#l3.8 [^]
No
0029558: Incorrect amount is shown completing a receipt in POS under certain steps
Following certains steps, POS shows incorrect amounts when user changes from € cash to USA cash.
Internal operations are correctly calculated, but POS shown information is not correct.

[This issue has been introduced in RR15Q2]
1-Login POS as vallblanca//openbravo
2-Add product "Alpine skiing backpack 27 L"
3-Click total amount button and click OK (tick) button. Now "Exact amount paid." is shown.
4-Click "USA Cash" button. Just under "Exact amount paid.", click 'X' button. Now it is shown "109.90 remaining to pay." (But this is not $, but €).

Defect: You can pay using bill buttons and it seems that amounts are not correctly decreased because adding a 50$ bill does NOT decrease 50 in that amount. (Due to internally it convert $ to €).
In the same way, You can also introduce 109.90$ to pay, but it wouldn't be completely paid, because the shown amount is not $ but €.
No tags attached.
depends on backport 0029758RR15Q2 closed Orekaria Incorrect amount is shown completing a receipt in POS under certain steps 
caused by defect 0027534 closed ebecerra PAYMENT METHOD HIERARCHY - Ability to group different payment methods in just one button 
blocks feature request 0029530RR16Q1 closed Retail QA: RR15Q3: Add tests for Mobile applications 
png WrongAmount.png (217,663) 2015-04-10 10:03
https://issues.openbravo.com/file_download.php?file_id=7976&type=bug
png
Issue History
2015-04-10 10:03lorenzofidalgoNew Issue
2015-04-10 10:03lorenzofidalgoAssigned To => Retail
2015-04-10 10:03lorenzofidalgoFile Added: WrongAmount.png
2015-04-10 10:03lorenzofidalgoRegression level => Packaging and release
2015-04-10 10:03lorenzofidalgoRegression introduced in release => main
2015-04-10 10:03lorenzofidalgoTriggers an Emergency Pack => No
2015-04-13 12:46OrekariaRelationship addedblocks 0029530
2015-05-04 10:58OrekariaStatusnew => scheduled
2015-05-04 13:24OrekariaRelationship addedcaused by 0027534
2015-05-04 14:24OrekariaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f9782f460468 [^]
2015-05-04 14:24OrekariaRegression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f9782f460468 [^] => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f9782f460468#l3.8 [^]
2015-05-04 14:35hgbotCheckin
2015-05-04 14:35hgbotNote Added: 0076944
2015-05-04 14:35hgbotStatusscheduled => resolved
2015-05-04 14:35hgbotResolutionopen => fixed
2015-05-04 14:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1c2ac8d9e2289b3d1fae14d96b147df687a86224 [^]
2015-05-04 15:27OrekariaRegression introduced in releasemain => RR15Q2
2015-05-04 17:30hgbotCheckin
2015-05-04 17:30hgbotNote Added: 0076958
2015-05-04 18:55hgbotCheckin
2015-05-04 18:55hgbotNote Added: 0076971
2015-05-04 19:37marvintmReview Assigned To => marvintm
2015-05-04 19:37marvintmStatusresolved => closed
2015-05-04 19:37marvintmFixed in Version => RR15Q3

Notes
(0076944)
hgbot   
2015-05-04 14:35   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 1c2ac8d9e2289b3d1fae14d96b147df687a86224
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon May 04 14:33:51 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1c2ac8d9e2289b3d1fae14d96b147df687a86224 [^]

Fixes issue 29558: Nullifying the selected payment prevents the cancel button to properly calculate the correct amount

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0076958)
hgbot   
2015-05-04 17:30   
Repository: tools/automation/pi-mobile
Changeset: 70fd75a45646fdd05eca34d75c5a840db282525d
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon May 04 14:31:27 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/70fd75a45646fdd05eca34d75c5a840db282525d [^]

Related to issue 29530, verifies issue 29558: Added the 'I29558_IncorrectCurrencyAmountAfterCancelingPayment' test

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I29558_IncorrectCurrencyAmountAfterCancelingPayment.java
---
(0076971)
hgbot   
2015-05-04 18:55   
Repository: retail/backports/3.0RR15Q2/org.openbravo.retail.posterminal
Changeset: 327368ba6c6f3742fa987e41cac47b5167972aa7
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon May 04 14:33:51 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2/org.openbravo.retail.posterminal/rev/327368ba6c6f3742fa987e41cac47b5167972aa7 [^]

Fixes issue 29758, backport of issue 29558: Nullifying the selected payment prevents the cancel button to properly calculate the correct amount

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---