Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028234 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 04. Warehouse management | major | always | 2014-11-20 10:16 | 2014-12-30 23:26 | |||
Reporter | psanjuan | View Status | public | |||||
Assigned To | Sandrahuguet | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | a363c29aeee3 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | Oracle | Java version | 1.6 | |||
OS Version | Ubuntu 8.04.1 | Database version | 11.1.0.6.0 | Ant version | 1.7.0 | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | Sandrahuguet | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 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 Reproduce | In 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 Solution | There 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0072287) hgbot (developer) 2014-12-04 18:19 |
Repository: erp/devel/pi Changeset: a363c29aeee3f27d0e8338f4eba2fc7f8e97d12c Author: Unai Martirena <unai.martirena <at> openbravo.com> Date: Thu Dec 04 13:09:42 2014 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/a363c29aeee3f27d0e8338f4eba2fc7f8e97d12c [^] 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/CostingRuleProcess.java --- |
(0072315) psanjuan (viewer) 2014-12-05 14:47 |
Verified. |
(0072428) Sandrahuguet (viewer) 2014-12-11 15:56 |
Code review done |
(0073174) hudsonbot (viewer) 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: https://code.openbravo.com/erp/devel/main/rev/6525fe229e06 [^] Maturity status: Test |
![]() |
|||
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 | OBNetwork customer | => No |
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 | => http://code.openbravo.com/erp/devel/pi/rev/a363c29aeee3f27d0e8338f4eba2fc7f8e97d12c [^] |
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 |