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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017319
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 09. Financial managementmajoralways2011-05-23 18:282011-07-26 13:47
ReportermalsasuaView Statuspublic 
Assigned Todalsasua 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branch2.50Fixed in SCM revision7637f8adeeed
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0017319: wrong accounting with multicurrency

DescriptionIf you have multicurrency and you create a manual settlement with a debt payment negative and the check "receipt" is unselected, if you cancel the payment in bank statement, the accounting of settlement BSP is wrong
Steps To Reproduce. accounting schema currency EUR
. conversion rates:
 . EUR - USD : 01/01/2000 - 20-05-2011: MULT: 2 DIV: 0.5
 . EUR - USD : 20-05-2011 - 01-01-3000: MULT: 3 DIV: 0.33333
 . USD - EUR : 01/01/2000 - 20-05-2011: MULT: 0.5 DIV: 2
 . USD - EUR : 20-05-2011 - 01-01-3000: MULT: 0.3333 DIV: 3

. create manual settlement:
Financial Management || Receivables & Payables || Transactions || Manual Settlement || Manual Settlement
   date: 15/05/2011
   currency: USD
 >> DEBT PAYMENT:
    amount -750
    Receipt NOT selected
    currency USD
 >> Balance Payment
     Debit Amount 0 Credit amount 750

. Financial Management || Receivables & Payables || Transactions || Bank Statement || Header
   new record (bank currency EUR)
   select the debt payment created in step 1
   process

go to the settlement *BSP* generated:
   . post it

The accounting generated is:
90010 Cuenta de compensación de asientos 250.00
76800 Diferencias positivas de cambio 125.00
46500 Remuneraciones pendientes de pago 375.00
55500 Partidas pendientes de aplicación 250.00

and it should be
76800 Diferencias positivas de cambio 125.00
46500 Remuneraciones pendientes de pago 375.00
55500 Partidas pendientes de aplicación 250.00
TagsNo tags attached.
Attached Filesdiff file icon issue17319.diff [^] (2,712 bytes) 2011-06-21 18:15 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0017318 closeddalsasua wrong accounting with multicurrency 

-  Notes
(0038423)
dalsasua (reporter)
2011-06-21 18:28

Attached fix of the backport. Repository is frozen. Will commit as soon as it's unfrozen.
(0038769)
hgbot (developer)
2011-07-05 13:01

Repository: erp/stable/2.50
Changeset: 7637f8adeeed495e0641c5f773c325d8af4b9968
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Tue Jun 21 17:25:50 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/7637f8adeeed495e0641c5f773c325d8af4b9968 [^]

Fixes issue 17319: wrong accounting with multicurrency

---
M src/org/openbravo/erpCommon/ad_forms/DocPayment.java
---
(0039374)
malsasua (developer)
2011-07-26 13:47

verified

- Issue History
Date Modified Username Field Change
2011-05-23 18:28 malsasua Type defect => backport
2011-05-23 18:28 malsasua fix_in_branch => 2.50
2011-05-23 18:30 malsasua Issue Monitored: networkb
2011-06-21 18:15 dalsasua File Added: issue17319.diff
2011-06-21 18:28 dalsasua Note Added: 0038423
2011-07-05 13:01 hgbot Checkin
2011-07-05 13:01 hgbot Note Added: 0038769
2011-07-05 13:01 hgbot Status scheduled => resolved
2011-07-05 13:01 hgbot Resolution open => fixed
2011-07-05 13:01 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/7637f8adeeed495e0641c5f773c325d8af4b9968 [^]
2011-07-26 13:47 malsasua Note Added: 0039374
2011-07-26 13:47 malsasua Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker