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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021640
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2012-09-13 13:372015-09-01 00:02
ReportermaiteView Statuspublic 
Assigned Togorkaion 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionc501ca2ff03f
ProjectionnoneETAnoneTarget Version3.0MP16
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0MP13SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression levelProduction - QA Approved
Regression date2012-06-27
Regression introduced in release
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/c5aaaa74353d [^]
Triggers an Emergency Packyes
Summary

0021640: Wrong MatchInvoice posting when invoice is in foreign currency

DescriptionWrong MatchInvoice posting when invoice is in foreign currency
Steps To Reproduce1. Create Goods Receipt for "España" org. Add line for any product (ensuring that product has cost defined). Process and Post Receipt in "USD accounting schema"
2. Create invoice using "Create Lines from" this receipt. Process and Post. Realize that amount is properly converted and posted in USD.
3. Go to associated Match Invoice document and post it. Realize that "Currency Suspense Balancing" account is used
Proposed SolutionProblem is that "strExpenses" amount is converted 2 times.
In line 225 (file DocMatchInv.java), "strExpenses" is converted. Than variable "bdExpenses" is created with this converted amount.
However, in line 249, "bdExpenses" is converted again.

Solution is to eliminate conversion performed in line 225
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00228813.0MP22 closedjecharri Wrong definition of the alert 'Wrong Matched Invoice posting. Wrong currency conversion.' 

-  Notes
(0052214)
hgbot (developer)
2012-09-18 18:52

Repository: erp/devel/pi
Changeset: c1726636a231b0952847071ecf1e3b14067fc12f
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Tue Sep 18 16:29:47 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c1726636a231b0952847071ecf1e3b14067fc12f [^]

Fixed issue 21640.Removed duplicated conversion.

---
M src/org/openbravo/erpCommon/ad_forms/DocMatchInv.java
A src-util/modulescript/build/classes/org/openbravo/modulescript/Issue21640WrongMatchInvAccounting.class
A src-util/modulescript/build/classes/org/openbravo/modulescript/Issue21640WrongMatchInvAccountingData.class
A src-util/modulescript/src/org/openbravo/modulescript/Issue21640WrongMatchInvAccounting.java
A src-util/modulescript/src/org/openbravo/modulescript/Issue21640WrongMatchInvAccounting_data.xsql
---
(0052215)
dmiguelez (developer)
2012-09-18 18:53

Code Review + Testing OK
(0052662)
hgbot (developer)
2012-09-26 17:16

Repository: erp/devel/pi
Changeset: c501ca2ff03f81906967655496232966b0b6325c
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Tue Sep 18 16:29:47 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c501ca2ff03f81906967655496232966b0b6325c [^]

Fixed issue 21640.Removed duplicated conversion.

---
M src/org/openbravo/erpCommon/ad_forms/DocMatchInv.java
A src-util/modulescript/build/classes/org/openbravo/modulescript/Issue21640WrongMatchInvAccounting.class
A src-util/modulescript/build/classes/org/openbravo/modulescript/Issue21640WrongMatchInvAccountingData.class
A src-util/modulescript/src/org/openbravo/modulescript/Issue21640WrongMatchInvAccounting.java
A src-util/modulescript/src/org/openbravo/modulescript/Issue21640WrongMatchInvAccounting_data.xsql
---
(0052783)
hudsonbot (developer)
2012-09-26 17:19

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/b780e90c6452 [^]

Maturity status: Test
(0079932)
hudsonbot (developer)
2015-09-01 00:02

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/880a20775a45 [^]
Maturity status: Test
(0079933)
hudsonbot (developer)
2015-09-01 00:02

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/880a20775a45 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-09-13 13:37 maite New Issue
2012-09-13 13:37 maite Assigned To => dmiguelez
2012-09-13 13:37 maite Modules => Core
2012-09-13 13:37 maite Assigned To dmiguelez => jonalegriaesarte
2012-09-13 13:37 maite Issue Monitored: networkb
2012-09-13 18:18 maite Proposed Solution updated
2012-09-13 18:18 maite Tag Attached: Regression
2012-09-13 18:29 maite Assigned To jonalegriaesarte => gorkaion
2012-09-13 18:31 maite Tag Detached: Regression
2012-09-13 18:32 maite Regression level => Production - Confirmed Stable
2012-09-13 18:33 maite version => 3.0MP11
2012-09-13 19:15 shuehner Issue Monitored: shuehner
2012-09-18 10:16 gorkaion Regression level Production - Confirmed Stable => Production - QA Approved
2012-09-18 10:16 gorkaion version 3.0MP11 => 3.0MP13
2012-09-18 18:52 hgbot Checkin
2012-09-18 18:52 hgbot Note Added: 0052214
2012-09-18 18:52 hgbot Status new => resolved
2012-09-18 18:52 hgbot Resolution open => fixed
2012-09-18 18:52 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c1726636a231b0952847071ecf1e3b14067fc12f [^]
2012-09-18 18:53 dmiguelez Closed by => dmiguelez
2012-09-18 18:53 dmiguelez Note Added: 0052215
2012-09-18 18:53 dmiguelez Status resolved => closed
2012-09-21 10:51 gorkaion Status closed => new
2012-09-21 10:51 gorkaion Resolution fixed => open
2012-09-21 10:57 gorkaion Regression date => 2012-06-27
2012-09-21 10:57 gorkaion Regression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/c5aaaa74353d [^]
2012-09-21 10:58 gorkaion Status new => closed
2012-09-21 10:58 gorkaion Resolution open => fixed
2012-09-26 17:16 hgbot Checkin
2012-09-26 17:16 hgbot Note Added: 0052662
2012-09-26 17:16 hgbot Status closed => resolved
2012-09-26 17:16 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/c1726636a231b0952847071ecf1e3b14067fc12f [^] => http://code.openbravo.com/erp/devel/pi/rev/c501ca2ff03f81906967655496232966b0b6325c [^]
2012-09-26 17:19 hudsonbot Checkin
2012-09-26 17:19 hudsonbot Note Added: 0052783
2012-09-26 17:33 gorka_gil Status resolved => closed
2013-01-24 11:17 VictorVillar Relationship added blocks 0022881
2015-09-01 00:02 hudsonbot Checkin
2015-09-01 00:02 hudsonbot Note Added: 0079932
2015-09-01 00:02 hudsonbot Checkin
2015-09-01 00:02 hudsonbot Note Added: 0079933


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker