Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021408Openbravo ERP09. Financial managementpublic2012-08-21 13:322012-09-26 17:19
dmiguelez 
dmiguelez 
normalmajoralways
closedfixed 
20Community Appliance
 
3.0MP163.0MP16 
gorkaion
Core
No
0021408: Cost of Transactions for production Products are calculated for the wrong Organization
When a Product is checked as a production Product, the cost is calculated at Client level, but the Organization is set as the legal Entity instead of *
When a Product is checked as a production Product, the cost is calculated at Client level, but the Organization is set as the legal Entity instead of *
No tags attached.
Issue History
2012-08-21 13:32dmiguelezNew Issue
2012-08-21 13:32dmiguelezAssigned To => gorkaion
2012-08-21 13:32dmiguelezModules => Core
2012-09-06 16:34gorkaionTarget Version => 3.0MP16
2012-09-11 10:09gorkaionAssigned Togorkaion => dmiguelez
2012-09-12 17:00dmiguelezStatusnew => scheduled
2012-09-12 17:00dmiguelezfix_in_branch => pi
2012-09-12 18:47dmiguelezNote Added: 0052036
2012-09-13 12:55hgbotCheckin
2012-09-13 12:55hgbotNote Added: 0052059
2012-09-13 12:55hgbotStatusscheduled => resolved
2012-09-13 12:55hgbotResolutionopen => fixed
2012-09-13 12:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/af015ec644ddf4777c27f5f02f6153dc64bbd426 [^]
2012-09-13 13:44gorkaionClosed by => gorkaion
2012-09-13 13:44gorkaionStatusresolved => closed
2012-09-13 13:44gorkaionFixed in Version => 3.0MP16
2012-09-26 17:19hudsonbotCheckin
2012-09-26 17:19hudsonbotNote Added: 0052742

Notes
(0052036)
dmiguelez   
2012-09-12 18:47   
Test Plan:

Login as Openbravo/openbravo

(An Active Instance is needed)

Go to Product Window.
Create a new Product and mark it as Production.

Go to Price List Window.
Select Be Soft Drinker Price List.
Select the latest version.
Add a line in Product Price tab for the new Product, with unit and list price 5.

Create a new Goods Receipt with Business Partner Be Soft Drinker.
Create a new line for the new Product with Movement Quantity 10 and Storage Bin EC-0-0-0.
Complete it.

In Process Request Window schedule a Process for Costing Background Process that runs immediatly.

Check in Product window, for the previous product, that there is an entry in the Costing tab with * as Organization.
(0052059)
hgbot   
2012-09-13 12:55   
Repository: erp/devel/pi
Changeset: af015ec644ddf4777c27f5f02f6153dc64bbd426
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Thu Sep 13 12:53:17 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/af015ec644ddf4777c27f5f02f6153dc64bbd426 [^]

Fixes issue 21408: When a Product is set as Production, it's
entries in M_Costing will have * as Organization.

---
M src/org/openbravo/costing/AverageAlgorithm.java
---
(0052742)
hudsonbot   
2012-09-26 17:19   
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/b780e90c6452 [^]

Maturity status: Test