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

View Revisions: Issue #21109 All Revisions ] Back to Issue ]
Summary 0021109: Multicurrency: exchange rate is not properly calculated using commas as decimal separator
Revision 2012-07-16 12:07 by mirurita
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)
Revision 2012-07-16 11:48 by mirurita
Steps To Reproduce 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)


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker