Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015968Openbravo ERPZ. Otherspublic2011-02-14 12:052011-03-01 00:00
marvintm 
adrianromero 
normalmajorhave not tried
closedfixed 
5
 
2.50MP282.50MP27 
Core
No
0015968: Callout in Conversion Rates window doesn't work with comma as decimal separator
The callout in the Conversion Rates window doesn't work if comma is used as the decimal separator.

The reason is that the DivideBy field is read directly as a string, and a NumberFormatException happens when it has value
-Create a new Conversion Rate
-Set the Multiple Rate by value to "2", and move out of the field (the callout will be fired, and you will get a Divide Rate by value of 0.5).
-Now set the Multiple Rate by value to "3", and move out of the field. The callout will fail with a NumberFormatException.
No tags attached.
Issue History
2011-02-14 12:05marvintmNew Issue
2011-02-14 12:05marvintmAssigned To => adrianromero
2011-02-14 12:05marvintmModules => Core
2011-02-14 12:09hgbotCheckin
2011-02-14 12:09hgbotNote Added: 0034173
2011-02-14 12:09hgbotStatusnew => resolved
2011-02-14 12:09hgbotResolutionopen => fixed
2011-02-14 12:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/963ffd63587b33a1935a319cba27f9847703fb48 [^]
2011-02-28 21:07jonalegriaesarteNote Added: 0034448
2011-02-28 21:07jonalegriaesarteStatusresolved => closed
2011-02-28 21:07jonalegriaesarteFixed in Version => 2.50MP27
2011-03-01 00:00anonymoussf_bug_id0 => 3195609

Notes
(0034173)
hgbot   
2011-02-14 12:09   
Repository: erp/stable/2.50
Changeset: 963ffd63587b33a1935a319cba27f9847703fb48
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Feb 14 12:09:14 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/963ffd63587b33a1935a319cba27f9847703fb48 [^]

Fixed issue 15968. Read DivideRate as a number to avoid problems with comma as decimal separator.

---
M src/org/openbravo/erpCommon/ad_callouts/SL_Conversion_Rate.java
---
(0034448)
jonalegriaesarte   
2011-02-28 21:07   
Verified