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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033059
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2016-05-26 13:592019-01-10 14:00
ReportermalsasuaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision1f98f653194c
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033059: rounding problem with multicurrency

Descriptiontrying to pay one receipt in other currency, in some cases, it is not possible to complete the payment
Steps To Reproducein backoffice, put the conversion rate with the next values:
. eur to usd: multiply 0.05458 divide: 18.3217
. usd to eur: multiply 18.3217 divide: 0.05458
(see attachment)

in POS:
. new receipt
. add Avalanche product (total receipt 150.5)
. click in total button
. pay with usd cash

it is not possible to finish the process:
remaining to pay: 0
paymnet: USA Cash (8.21 $) 150.42
(see attachment)
TagsNo tags attached.
Attached Filespng file icon conversionRate.png [^] (101,057 bytes) 2016-05-26 14:00


png file icon paymentWindow.png [^] (188,993 bytes) 2016-05-26 14:00

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0033898 closedguilleaer Rounding issues paying with foreign currency 

-  Notes
(0087010)
hgbot (developer)
2016-06-06 07:52

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 1f98f653194c879dfa7117515597ad823ca8d3fa
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Jun 06 11:21:25 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1f98f653194c879dfa7117515597ad823ca8d3fa [^]

Fixes issue 33059 : Adding Scale parameter for currency conversion

- BY default, Receipt total amount is calculated based on price precision.
If conversion rate have 4 decimals, receipt payment amount is not calculated properly,
So precision is added to payment amount calculation based on conversion rate

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboard-toolbars.js
---
(0087011)
hgbot (developer)
2016-06-06 07:54

Repository: tools/automation/pi-mobile
Changeset: 6de67a0107d88a62402dcdcf429c433d9f4e194e
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Jun 06 11:21:03 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/6de67a0107d88a62402dcdcf429c433d9f4e194e [^]

Verifies issue 33059 : Added automated test 'I33059_VerifyPaymentBasedonConversionRate'

---
A src-test/org/openbravo/test/mobile/quarantine/pack/RAN/system/I33059_VerifyPaymentBasedonConversionRate.java
---
(0087012)
hgbot (developer)
2016-06-06 07:55

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: af2f96bdcd3524c42db910b524c69187ebba77ab
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Jun 06 11:21:20 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/af2f96bdcd3524c42db910b524c69187ebba77ab [^]

Related to issue 33059 : Adding scale argument to Decimal Division operation

---
M web/org.openbravo.mobile.core/source/utils/ob-arithmetic.js
---
(0089830)
hgbot (developer)
2016-09-08 08:54

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: fbf4631464e1c0d1b5a916ad0267d85735d4c708
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Wed Sep 07 09:55:42 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fbf4631464e1c0d1b5a916ad0267d85735d4c708 [^]

Related to issue 33059, 33898: Backout this commit because fix introduced in 33898 resolves the issue in a better way

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboard-toolbars.js
---
(0108895)
hgbot (developer)
2019-01-10 14:00

Repository: erp/pmods/org.openbravo.retail.sampledata
Changeset: 5fea2a6c56faafb1eff0dc93c4353bdf1c88bc90
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Jan 10 18:30:14 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/5fea2a6c56faafb1eff0dc93c4353bdf1c88bc90 [^]

Fixed issue 39874 : Added Sample data for Currency Conversion

* Added Sample data for Currency Conversion for the issue 39103
* Added Sample data for Currency Conversion for the issue 33059

---
M referencedata/sampledata/The_White_Valley_Group/C_CONVERSION_RATE.xml
---

- Issue History
Date Modified Username Field Change
2016-05-26 13:59 malsasua New Issue
2016-05-26 13:59 malsasua Assigned To => Retail
2016-05-26 13:59 malsasua Resolution time => 1465509600
2016-05-26 13:59 malsasua Triggers an Emergency Pack => No
2016-05-26 14:00 malsasua File Added: conversionRate.png
2016-05-26 14:00 malsasua File Added: paymentWindow.png
2016-05-26 17:26 Orekaria Status new => acknowledged
2016-05-31 09:59 egoitz Resolution time 1465509600 => 1464818400
2016-05-31 10:05 egoitz Issue Monitored: egoitz
2016-06-01 15:12 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2016-06-01 15:12 ranjith_qualiantech_com Status acknowledged => scheduled
2016-06-06 07:52 hgbot Checkin
2016-06-06 07:52 hgbot Note Added: 0087010
2016-06-06 07:52 hgbot Status scheduled => resolved
2016-06-06 07:52 hgbot Resolution open => fixed
2016-06-06 07:52 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1f98f653194c879dfa7117515597ad823ca8d3fa [^]
2016-06-06 07:54 hgbot Checkin
2016-06-06 07:54 hgbot Note Added: 0087011
2016-06-06 07:55 hgbot Checkin
2016-06-06 07:55 hgbot Note Added: 0087012
2016-06-06 11:54 marvintm Review Assigned To => marvintm
2016-06-06 11:54 marvintm Status resolved => closed
2016-09-06 23:15 guilleaer Relationship added related to 0033898
2016-09-08 08:54 hgbot Checkin
2016-09-08 08:54 hgbot Note Added: 0089830
2019-01-10 14:00 hgbot Checkin
2019-01-10 14:00 hgbot Note Added: 0108895


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker