Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027929Openbravo ERP04. Warehouse managementpublic2014-10-21 12:522014-12-30 23:23
psanjuan 
umartirena 
urgentmajoralways
closedfixed 
5
 
 
Core
No
0027929: Landed Cost does not properly support Multi-currency
Landed Cost does not properly support Multi-currency
In QA Testing client creates a new product, for instance "LC Multi 1".

Go to Price tab and select "Purchase" price list (EUR) and enter a unit/list price = 100 €

Go to Goods Receipt and create a new one for Spain org. Enter 1 unit of product "LC Multi 1". Complete. Let's say goods receipt gets number 1000062

Go to process request window and run costing background process.

Go back to goods receipt window and post last created one. Realize that amount post is 100 €

Go to landed cost window and create a new one for Spain org.
Enter USD as Currency.

Go to lines and create a new line. Select a "product" landed cost type and enter and amount of 25.33 USD.

Go to Receipt tab and select goods receipt 10000062. Process Landed Cost and Post it.
Realize that landed cost amount post to the ledger is 10.13 EUR. This is correct.

However there are two changes which are NOT correct:

Go to Cost Adjustment window and realize that Adjustment Amount is 25.33 EUR (this is not correct as it should be 10.13 EUR)

Go to Product window, search by the product and go to costing tab. Realize that new costing is 125.33 (this is not correct as it should be 110.13)

Go to transaction tab and realize that goods receipt transaction cost is 125.33 and this is not correct as it should be 110.13.


No tags attached.
Issue History
2014-10-21 12:52psanjuanNew Issue
2014-10-21 12:52psanjuanAssigned To => dmiguelez
2014-10-21 12:52psanjuanModules => Core
2014-10-21 12:52psanjuanTriggers an Emergency Pack => No
2014-10-21 13:03psanjuanAssigned Todmiguelez => umartirena
2014-10-21 13:03psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6865#r6865
2014-10-21 13:08psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6866#r6866
2014-10-21 13:33psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6867#r6867
2014-10-22 18:46umartirenaStatusnew => scheduled
2014-10-22 18:46umartirenafix_in_branch => pi
2014-10-23 12:50hgbotCheckin
2014-10-23 12:50hgbotNote Added: 0071126
2014-10-23 12:50hgbotStatusscheduled => resolved
2014-10-23 12:50hgbotResolutionopen => fixed
2014-10-23 12:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5e51f857db1aa643d24a5f1b69c54228bf7046c0 [^]
2014-10-27 14:14psanjuanNote Added: 0071195
2014-10-27 14:14psanjuanStatusresolved => closed
2014-10-27 14:14psanjuanfix_in_branchpi =>
2014-12-30 23:23hudsonbotCheckin
2014-12-30 23:23hudsonbotNote Added: 0072973

Notes
(0071126)
hgbot   
2014-10-23 12:50   
Repository: erp/devel/pi
Changeset: 5e51f857db1aa643d24a5f1b69c54228bf7046c0
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Thu Oct 23 12:49:47 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5e51f857db1aa643d24a5f1b69c54228bf7046c0 [^]

Fixes issue 27929: Landed Cost correctly manages multicurrency

Landed Cost adjustment was being created with currency of transaction instead of Landed Cost Cost currency.
The transaction cost currency was being created on Landed Cost adjustment currency instead of transaction currency.

---
M src/org/openbravo/costing/CostAdjustmentProcess.java
M src/org/openbravo/costing/LandedCostProcess.java
---
(0071195)
psanjuan   
2014-10-27 14:14   
Verified that landed cost is now adjusting product cost by making the corresponding conversion rate between landed cost currency and product cost currency.
(0072973)
hudsonbot   
2014-12-30 23:23   
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/6525fe229e06 [^]
Maturity status: Test