Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009544Openbravo ERP09. Financial managementpublic2009-06-18 11:382009-07-23 12:48
networkb 
eduardo_Argal 
immediatemajoralways
closedfixed 
30
2.40MP6 
2.40MP8 
OBPS
Core
No
0009544: A settlement generated from a Bank statement is not posted correctly when the currency of the bank is a foreing currency.
A settlement generated from a Bank statement is not posted correctly when the currency of the bank is a foreing currency.
-Use a application that has as currency in the schema EURO
-Create different conversions for two different dates (date A and date B), from EURO to USD and USD to EURO.
-Create a pricelist with currency USD
-Create a bank account with currency USD
-Create an invoice for date A, with lines using the pricelist created in USD. -Complete and post the invoice.
-Create a bank statement using the bank account defined using USD in date B.
-Click on create lines and select the debt_payment created when completing the invoice.
-Complete and post the bank statement
-Go to the settlement (*BSP*) generated when completing the bank statement created.
-Post the settlement.
-The accounting generated is not correct because the lost or proffits generated by the conversion rate of the currency are not taked into account.
-When posting the settlment use the currency of the accouting schema instead of using the currency of the settlement header.
No tags attached.
blocks defect 0009532 closed eduardo_Argal A settlement generated from a Bank statement is not posted correctly when the currency of the bank is a foreing currency. 
Issue History
2009-06-18 15:57rafarodaTypedefect => backport
2009-06-18 15:57rafarodafix_in_branch => 2.40
2009-07-16 16:39hgbotCheckin
2009-07-16 16:39hgbotNote Added: 0018326
2009-07-16 16:39hgbotStatusscheduled => resolved
2009-07-16 16:39hgbotResolutionopen => fixed
2009-07-16 16:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/17c33dda2e25bc522d1afb72339ff01406985dea [^]
2009-07-23 12:48sureshbabuStatusresolved => closed
2009-07-23 12:48sureshbabuNote Added: 0018588
2009-07-23 12:48sureshbabuFixed in Version => 2.40MP8
2009-08-05 13:46networkbRelationship addedrelated to 0010195
2009-08-06 08:07rafarodaRelationship deletedrelated to 0010195

Notes
(0018326)
hgbot   
2009-07-16 16:39   
Repository: erp/stable/2.40
Changeset: 17c33dda2e25bc522d1afb72339ff01406985dea
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Wed Jul 15 23:49:46 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/17c33dda2e25bc522d1afb72339ff01406985dea [^]

Fixes bug 0009544: A settlement generated from a Bank statement is not posted correctly when the currency of the bank is a foreing currency.

---
M src/org/openbravo/erpCommon/ad_forms/AcctServer.java
M src/org/openbravo/erpCommon/ad_forms/DocPayment.java
---
(0018588)
sureshbabu   
2009-07-23 12:48   
Tested working fine