Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019648Openbravo ERP09. Financial managementpublic2012-02-03 09:452012-04-02 06:10
VictorVillar 
ioritzCia 
highminoralways
closedfixed 
5
3.0MP7.1 
3.0MP10 
Core
No
0019648: With the Format.xml changed, wrong value in Conversion rate in Add Payment popup
With the Format.xml changed, decimal separator defined as "," and "." grouping separator, when adding a payment and the user selects an account different than the invoice currency, the value of exchange rate field is with "." decimal separator
As group Admin role
Set a conversion rate, USD to EUR and EUR to USD
Create a financial account to F&B US, Inc.-->Name: Prueba, Currency: EUR, Payment Method: Payment In allowed: YES and Receive Payments in others Currencies

go to Sales invoice window:
 Create a new one: Business partner: Be Soft
Go to lines tab:
 Create a new one: Product: ale beer
Save it and Complete it.

Click the Add payment In/out button
select the Deposit In: Prueba
New fields appear and the Exchange rate gets the value with "." decimal separator, but actually is working with thousands.
Example: Exchange rate defined as: 0,8 actually is working with 0.800000 = 800000
No tags attached.
Issue History
2012-02-03 09:45VictorVillarNew Issue
2012-02-03 09:45VictorVillarAssigned To => jonalegriaesarte
2012-02-03 09:45VictorVillarModules => Core
2012-02-03 09:45VictorVillarResolution time => 1334700000
2012-02-03 09:45VictorVillarIssue Monitored: networkb
2012-03-06 19:12jonalegriaesarteAssigned Tojonalegriaesarte => ioritzCia
2012-03-16 09:25ioritzCiaStatusnew => scheduled
2012-03-16 09:25ioritzCiafix_in_branch => pi
2012-03-20 09:35hgbotCheckin
2012-03-20 09:35hgbotNote Added: 0046524
2012-03-20 09:35hgbotStatusscheduled => resolved
2012-03-20 09:35hgbotResolutionopen => fixed
2012-03-20 09:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/644ee93d70811eeacd2e526b45ed92a2e520274b [^]
2012-03-29 16:42VictorVillarNote Added: 0046902
2012-03-29 16:42VictorVillarStatusresolved => closed
2012-04-02 06:10hudsonbotCheckin
2012-04-02 06:10hudsonbotNote Added: 0047161

Notes
(0046524)
hgbot   
2012-03-20 09:35   
Repository: erp/devel/pi
Changeset: 644ee93d70811eeacd2e526b45ed92a2e520274b
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Wed Mar 14 17:46:46 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/644ee93d70811eeacd2e526b45ed92a2e520274b [^]

Fixes issue 19648: wrong value in Conversion rate.
With the Format.xml changed, wrong value in Conversion rate in Add Payment popup.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromInvoice.java
---
(0046902)
VictorVillar   
2012-03-29 16:42   
Verified
(0047161)
hudsonbot   
2012-04-02 06:10   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/7814864461ac [^]

Maturity status: Test