Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019815Openbravo ERP09. Financial managementpublic2012-02-20 13:172012-03-02 15:38
eduardo_Argal 
eduardo_Argal 
immediatemajorsometimes
closedfixed 
5
 
3.0MP9 
Core
No
0019815: Accounting is wrong for documents using cost as it assumes cost currency is equal accounting schema currency
When posting documents using cost and a different currency for the accounting schema amounts are entered using accounting schema currency without doing proper conversion from cost currency.
1) Create a client using EUR
2) create an schema using USD
3) post a goods receipt and mind that entry is in USD while amount is showing EUR value
No tags attached.
Issue History
2012-02-20 13:17eduardo_ArgalNew Issue
2012-02-20 13:17eduardo_ArgalAssigned To => eduardo_Argal
2012-02-20 13:17eduardo_ArgalModules => Core
2012-02-20 13:18eduardo_ArgalStatusnew => scheduled
2012-02-20 13:18eduardo_Argalfix_in_branch => pi
2012-02-20 18:43hgbotCheckin
2012-02-20 18:43hgbotNote Added: 0045279
2012-02-20 18:43hgbotStatusscheduled => resolved
2012-02-20 18:43hgbotResolutionopen => fixed
2012-02-20 18:43hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/265180c4a4e7f26139b9e24dbb59b4cd33b93f82 [^]
2012-03-01 17:59vmromanosNote Added: 0045680
2012-03-01 17:59vmromanosStatusresolved => closed
2012-03-02 15:38hudsonbotCheckin
2012-03-02 15:38hudsonbotNote Added: 0045896

Notes
(0045279)
hgbot   
2012-02-20 18:43   
Repository: erp/devel/pi
Changeset: 265180c4a4e7f26139b9e24dbb59b4cd33b93f82
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Mon Feb 20 18:42:44 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/265180c4a4e7f26139b9e24dbb59b4cd33b93f82 [^]

Fixes bug 19815: Accounting is wrong for documents using cost as it assumes cost currency is equal accounting schema currency

---
M src/org/openbravo/erpCommon/ad_forms/DocInOut.java
M src/org/openbravo/erpCommon/ad_forms/DocInventory.java
M src/org/openbravo/erpCommon/ad_forms/DocMatchInv.java
M src/org/openbravo/erpCommon/ad_forms/DocMovement.java
M src/org/openbravo/erpCommon/ad_forms/DocProduction.java
---
(0045680)
vmromanos   
2012-03-01 17:59   
Fixed, working fine.
Test plan:
1. In F&B client, create a Goods Receipt for Happy Drink
2. Add a new line:
- Product Ale Beer (which has 1.63 EUR for cost)
- Amount 10
3. Complete and post it
4. The amounts in the accounting entry are 20,40USD, which represents 10 units x 1,63 EUR x 1,25USD/EUR (Conversion EUR to USD) = 20,40USD
(0045896)
hudsonbot   
2012-03-02 15:38   
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/544d64e0c159 [^]

Maturity status: Test