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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0024038
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2013-06-11 11:142013-08-01 17:51
ReportermaiteView Statuspublic 
Assigned ToioritzCia 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision7f337909ca82
ProjectionnoneETAnoneTarget Version3.0MP26
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
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

0024038: Wrong accounting in prepayment against invoice with different conversion rates

DescriptionWhen posting a prepayment against invoice and invoice's date and payment's date have different conversion rate defined, accounting entry is not being properly generated
Steps To Reproduce1. Register Purchase Invoice for any Business Partner and date 10/06/2013. Add any lines and process.
2. Define Conversion rate of 0.5 between invoice's currency and accounting schema currency for 10/06/2013
3. Register Payment Out for same BP and payment date 06/06/2013. Add invoice's detail and process.
4. Define Conversion rate of 0.7 between invoice's currency and accounting schema currency for 06/06/2013
5. Post Payment Out and realize that accounting entry is not properly generated as "currency differences" account is not being used.
Proposed Solution"bpAmountConverted" is used in createline method, but in that case it is not being calculated as condition "if (!isPrepayment && invoice != null) {" is not satisfied. "bpAmountConverted" should also be calculated in that case.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0059808)
hgbot (developer)
2013-07-02 12:48

Repository: erp/devel/pi
Changeset: 7f337909ca826f02ed6673cce17bbdf0d2ac5b7e
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Mon Jul 01 17:32:35 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7f337909ca826f02ed6673cce17bbdf0d2ac5b7e [^]

Fixes issue 24038: Prepayment against invoice with different conversion rates.

---
M src/org/openbravo/erpCommon/ad_forms/DocFINPayment.java
---
(0059908)
hgbot (developer)
2013-07-08 10:18

Repository: erp/devel/pi
Changeset: 47a20feae056fb9c638cd77fbe448d282b3ff0af
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Mon Jul 08 10:16:59 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/47a20feae056fb9c638cd77fbe448d282b3ff0af [^]

Related to issue 24038: Prepayment against invoice with different conversion rates.

---
M src/org/openbravo/erpCommon/ad_forms/DocFINPayment.java
---
(0060008)
hudsonbot (developer)
2013-07-16 14:26

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

Maturity status: Test
(0060033)
hudsonbot (developer)
2013-07-16 14:26

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

Maturity status: Test
(0060144)
maite (developer)
2013-07-22 12:22

verified
(0060435)
hgbot (developer)
2013-07-31 17:25

Repository: erp/devel/pi
Changeset: bd25ca783eca952ba80d3e33ee130ff870f81a39
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Wed Jul 31 12:11:59 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/bd25ca783eca952ba80d3e33ee130ff870f81a39 [^]

Related to issue 24038: Prepayment against invoice with different conversion rates.

---
M src/org/openbravo/erpCommon/ad_forms/DocFINPayment.java
---
(0060463)
hudsonbot (developer)
2013-08-01 17:51

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

Maturity status: Test

- Issue History
Date Modified Username Field Change
2013-06-11 11:14 maite New Issue
2013-06-11 11:14 maite Assigned To => dmiguelez
2013-06-11 11:14 maite Modules => Core
2013-06-11 11:14 maite Triggers an Emergency Pack => No
2013-06-11 11:16 maite Assigned To dmiguelez => jonalegriaesarte
2013-06-11 11:16 maite Issue Monitored: networkb
2013-07-01 09:38 jonalegriaesarte Assigned To jonalegriaesarte => ioritzCia
2013-07-01 09:39 jonalegriaesarte Target Version 3.0MP24 => 3.0MP26
2013-07-01 09:40 maite Assigned To ioritzCia => jonalegriaesarte
2013-07-01 09:40 maite Target Version 3.0MP26 => 3.0MP24
2013-07-01 09:40 maite Proposed Solution updated
2013-07-01 09:42 jonalegriaesarte Assigned To jonalegriaesarte => ioritzCia
2013-07-01 09:42 jonalegriaesarte Target Version 3.0MP24 => 3.0MP26
2013-07-01 10:05 ngarcia Issue Monitored: ngarcia
2013-07-02 12:48 hgbot Checkin
2013-07-02 12:48 hgbot Note Added: 0059808
2013-07-02 12:48 hgbot Status new => resolved
2013-07-02 12:48 hgbot Resolution open => fixed
2013-07-02 12:48 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7f337909ca826f02ed6673cce17bbdf0d2ac5b7e [^]
2013-07-08 10:18 hgbot Checkin
2013-07-08 10:18 hgbot Note Added: 0059908
2013-07-16 14:26 hudsonbot Checkin
2013-07-16 14:26 hudsonbot Note Added: 0060008
2013-07-16 14:26 hudsonbot Checkin
2013-07-16 14:26 hudsonbot Note Added: 0060033
2013-07-22 12:22 maite Note Added: 0060144
2013-07-22 12:22 maite Status resolved => closed
2013-07-31 17:25 hgbot Checkin
2013-07-31 17:25 hgbot Note Added: 0060435
2013-08-01 17:51 hudsonbot Checkin
2013-08-01 17:51 hudsonbot Note Added: 0060463


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker