Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2014-11-20 10:162014-12-30 23:26
ReporterpsanjuanView Statuspublic 
Assigned ToSandrahuguet 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiona363c29aeee3
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.6
OS VersionUbuntu 8.04.1Database version11. version1.7.0
Product VersionSCM revision 
Review Assigned ToSandrahuguet
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0028234: [Costing] Costing Rule validation process should check that the organization has a currency setup

Description[Costing] Costing Rule validation process should check that the organization has a currency setup, otherwise an error is shown.
Steps To ReproduceIn QA testing client make sure that USA organization does not have a currency defined.

Realize that Client base currency is EUR.

Create a costing rule for USA organization and validate it.

Create a product. Navigate to price tab and select a price list in USD. Enter a unit/price list of 150 USD.

Go to purchase order and create a new one for a USA Vendor. Make sure that USD price list gets selected.

Go to Lines tab, select the product and enter 1 unit. Price = 150 USD.
Book the order.

Go to Goods Receipt and create a new one for USA org and USA vendor. Select the order. Complete the receipt.

Go to Process Request and run costing background process.

Go back to the Goods Receipt and post it. Realize that the product asset amount posted to the ledger is 150.00 USD.

Go to product window, search the product. Navigate to costing tab.

Realize that the cost shown there is 60.00 EUR. That is not correct.
Proposed SolutionThere is one design changes to implement:

1) Costing rule process should verify that the organization has a currency setup, otherwise an error will be show. A costing rule can not be validated until the organization has a currency.

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0028230 closedSandrahuguet [Costing] Null Pointer Exception is raised when trying to post a goods receipt 

-  Notes
hgbot (developer)
2014-12-04 18:19

Repository: erp/devel/pi
Changeset: a363c29aeee3f27d0e8338f4eba2fc7f8e97d12c
Author: Unai Martirena <unai.martirena <at>>
Date: Thu Dec 04 13:09:42 2014 +0100
URL: [^]

Fixes Issue 28234: Check in Costing Rule Validation that the org has Currency.

If the organization has no currency defined, the costing process will use the currency defined in the client. This could be wrong if the currency for the transactions of this organization should be different that the currency of the client, so before validating a costing rule the organization of it should have a currency defined.

M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/costing/
psanjuan (manager)
2014-12-05 14:47

Sandrahuguet (developer)
2014-12-11 15:56

Code review done
hudsonbot (developer)
2014-12-30 23:26

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-11-20 10:16 psanjuan New Issue
2014-11-20 10:16 psanjuan Assigned To => dmiguelez
2014-11-20 10:16 psanjuan Modules => Core
2014-11-20 10:16 psanjuan Triggers an Emergency Pack => No
2014-11-20 10:30 psanjuan Assigned To dmiguelez => Sandrahuguet
2014-11-20 10:30 psanjuan Steps to Reproduce Updated View Revisions
2014-11-20 10:42 psanjuan Steps to Reproduce Updated View Revisions
2014-11-20 10:42 psanjuan Proposed Solution updated
2014-11-20 10:49 psanjuan Proposed Solution updated
2014-11-20 11:10 aferraz Relationship added related to 0028230
2014-12-01 10:56 psanjuan Proposed Solution updated
2014-12-04 18:19 hgbot Checkin
2014-12-04 18:19 hgbot Note Added: 0072287
2014-12-04 18:19 hgbot Status new => resolved
2014-12-04 18:19 hgbot Resolution open => fixed
2014-12-04 18:19 hgbot Fixed in SCM revision => [^]
2014-12-05 14:47 psanjuan Note Added: 0072315
2014-12-11 15:56 Sandrahuguet Review Assigned To => Sandrahuguet
2014-12-11 15:56 Sandrahuguet Note Added: 0072428
2014-12-11 15:56 Sandrahuguet Status resolved => closed
2014-12-30 23:26 hudsonbot Checkin
2014-12-30 23:26 hudsonbot Note Added: 0073174

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker