Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028168
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorsometimes2014-11-13 17:222014-12-03 17:25
ReporteradrianromeroView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in VersionRR15Q1
StatusclosedFix in branchFixed in SCM revisionf32a26ec2c5e
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomtaal
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028168: When paying with a different currency the server side is calculating the amount again

DescriptionThe OrderLoader class is calculating again the original amount based on the amount when it is already done in the client side. This must be taken from the amount field, otherwise it may create rounding errors in the payment records.
Steps To ReproduceCreate a receipt in the POS and pay with a foreign currency. Verify in the server side that sometimes there is a rounding error in the payments made with the foreign currency
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0028044RR15Q1 closedmario_castello Change is not properly calculated when the conversion rates are really bigs 

-  Notes
(0071641)
hgbot (developer)
2014-11-13 17:28

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: f32a26ec2c5eea42f113a9b9ed47e999327bf611
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Nov 13 17:28:22 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f32a26ec2c5eea42f113a9b9ed47e999327bf611 [^]

Fixes issue 28168: When paying with a different currency the server side is calculating the amount again
Instead of calculating the amount again we use the field *amount* that comes in the JSON payment

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0072145)
dmitry_mezentsev (developer)
2014-11-28 19:43

Not closed for 15 days!
(0072266)
mtaal (manager)
2014-12-03 17:25

Reviewed and tested

- Issue History
Date Modified Username Field Change
2014-11-13 17:22 adrianromero New Issue
2014-11-13 17:22 adrianromero Assigned To => adrianromero
2014-11-13 17:22 adrianromero Triggers an Emergency Pack => No
2014-11-13 17:22 adrianromero Relationship added related to 0028044
2014-11-13 17:28 hgbot Checkin
2014-11-13 17:28 hgbot Note Added: 0071641
2014-11-13 17:28 hgbot Status new => resolved
2014-11-13 17:28 hgbot Resolution open => fixed
2014-11-13 17:28 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f32a26ec2c5eea42f113a9b9ed47e999327bf611 [^]
2014-11-18 09:27 adrianromero Assigned To adrianromero => marvintm
2014-11-28 19:43 dmitry_mezentsev Note Added: 0072145
2014-12-03 17:25 mtaal Review Assigned To => mtaal
2014-12-03 17:25 mtaal Note Added: 0072266
2014-12-03 17:25 mtaal Status resolved => closed
2014-12-03 17:25 mtaal Fixed in Version => RR15Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker