Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029758Retail ModulesCash Managementpublic2015-04-10 10:032015-05-04 19:36
lorenzofidalgo 
Orekaria 
immediateminoralways
closedfixed 
5
main 
RR15Q2RR15Q2 
marvintm
Packaging and release
main
No
0029758: 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 €.
Approved
blocks defect 0029558 closed Retail Incorrect amount is shown completing a receipt in POS under certain steps 
Issue History
2015-05-04 10:58OrekariaTypedefect => backport
2015-05-04 10:58OrekariaTarget Version => RR15Q2
2015-05-04 18:55marvintmAssigned ToRetail => Orekaria
2015-05-04 18:55hgbotCheckin
2015-05-04 18:55hgbotNote Added: 0076972
2015-05-04 18:55hgbotStatusscheduled => resolved
2015-05-04 18:55hgbotResolutionopen => fixed
2015-05-04 18:55hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q2/org.openbravo.retail.posterminal/rev/327368ba6c6f3742fa987e41cac47b5167972aa7 [^]
2015-05-04 19:26dmitry_mezentsevTag Attached: Approved
2015-05-04 19:36marvintmReview Assigned To => marvintm
2015-05-04 19:36marvintmStatusresolved => closed
2015-05-04 19:36marvintmFixed in Version => RR15Q2

Notes
(0076972)
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
---