Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0021109 | Openbravo ERP | 09. Financial management | public | 2012-07-16 11:47 | 2012-07-27 02:18 |
Reporter | mirurita | ||||
Assigned To | mirurita | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 20 | OS Version | Community Appliance | |
Product Version | pi | ||||
Target Version | Fixed in Version | pi | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0021109: Multicurrency: exchange rate is not properly calculated using commas as decimal separator | ||||
Description | Having commas (,) configured as decimal separator (see attached Format.xml file) the exchange rate is always retrieved with dot as decimal separator. Reproducible on: - Add Payment From Invoice - Add Payment From Transaction | ||||
Steps To Reproduce | Scenario 1 (Add Payment From Transaction) 1) Configure Format.xml document to use comma (,) as decimal separator (use attaches Format.xml file) 2) Go to "Tarifa de ventas" price list and change the currency to USD 3) Create a new sales invoice and complete - BP: Alimentos y Supermercados, S.A - Currency: USD - Total: 10 USD 4) Go to "Cuenta de Banco" financial account 5) Configure Transferencia payment method to allow multicurrency transactions - Receive Payments in Multiple Currencies 6) Click on Add Transaction 7) Click on Add Payment In/Out 8) Select Alimentos y Supermercados, S.A 9) Select USD in currency combo 10) Realize that the Exchange Rate has an invalid format (dot as decimal separator) Scenario 2 (Add Payment From Invoice) 1) Configure Format.xml document to use comma (,) as decimal separator (use attaches Format.xml file) 2) Go to "Tarifa de ventas" price list and change the currency to USD 3) Create a new sales invoice and complete - BP: Alimentos y Supermercados, S.A - Currency: USD - Total: 10 USD 4) Go to "Cuenta de Banco" financial account 5) Configure Transferencia payment method to allow multicurrency transactions - Receive Payments in Multiple Currencies 6) Click on Add payment on Sales Invoice window 7) Realize that the Exchange Rate is not loaded a3196480 3301361 [TP-Processor3] ERROR org.openbravo.xmlEngine.ParameterValue - print() - Could not parse to string to BigDecimal: 0,689655 java.lang.NumberFormatException at java.math.BigDecimal.<init>(BigDecimal.java:470) at java.math.BigDecimal.<init>(BigDecimal.java:739) | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=5438&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=5439&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=5440&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-07-16 11:47 | mirurita | New Issue | |||
2012-07-16 11:47 | mirurita | Assigned To | => mirurita | ||
2012-07-16 11:47 | mirurita | File Added: Format.xml | |||
2012-07-16 11:47 | mirurita | Modules | => Core | ||
2012-07-16 11:47 | mirurita | OBNetwork customer | => No | ||
2012-07-16 11:48 | mirurita | File Added: Exchange Rate comma decimal.png | |||
2012-07-16 12:07 | mirurita | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=3636#r3636 | ||
2012-07-16 12:09 | mirurita | File Added: Exchange Rate comma decimal2.png | |||
2012-07-19 11:07 | hgbot | Checkin | |||
2012-07-19 11:07 | hgbot | Note Added: 0050747 | |||
2012-07-19 11:07 | hgbot | Status | new => resolved | ||
2012-07-19 11:07 | hgbot | Resolution | open => fixed | ||
2012-07-19 11:07 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d6afbc421ad8c6705f1394314052a20f6958d475 [^] | ||
2012-07-26 02:42 | hudsonbot | Checkin | |||
2012-07-26 02:42 | hudsonbot | Note Added: 0050859 | |||
2012-07-26 16:13 | hgbot | Checkin | |||
2012-07-26 16:13 | hgbot | Note Added: 0050908 | |||
2012-07-26 16:13 | dmiguelez | Note Added: 0050909 | |||
2012-07-26 16:13 | dmiguelez | Status | resolved => closed | ||
2012-07-26 16:13 | dmiguelez | Fixed in Version | => pi | ||
2012-07-27 02:18 | hudsonbot | Checkin | |||
2012-07-27 02:18 | hudsonbot | Note Added: 0050922 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|