Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029192
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 04. Warehouse managementmajoralways2015-02-02 19:122015-04-01 08:31
ReporterVictorVillarView Statuspublic 
Assigned Toumartirena 
PriorityimmediateResolutionfixedFixed in Version3.0PR15Q1.2
StatusclosedFix in branchFixed in SCM revision1b97ef82e96d
ProjectionnoneETAnoneTarget Version3.0PR15Q1.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned ToSandrahuguet
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0029192: Wrong costing entries after some circumstancies

DescriptionWrong costing entries after some circumstancies
Steps To ReproduceAs group Admin role:
  Go to Preferences: Activate Negative Stock Corrections
Create a product
 Production: Yes
 Bill of materials: Yes

Costing tab:
   New register. Average. Cost: 6.1
   Starting Date: 01-01-2012
   Ending date: 31-12-9999
 
Go to Client window:
  Allow Negative stock: Yes

Create 2 Goods Shipment for that product. Qty: 10 units each.
1.- Movement date: 01-01-2015
2.- Movement date: 02-01-2015
Create a Physical Inventory: Qty count: 10
Movement date: 01-01-2015
Cost: 0.16

Process it.

Launch the Costing Background process and realise that the process has introduced 2 registers in the m_costing, which is wrong.
TagsApproved
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0028840 closedumartirena Wrong costing entries after some circumstancies 

-  Notes
(0075888)
hgbot (developer)
2015-03-23 17:05

Repository: erp/backports/3.0PR15Q1.2
Changeset: 1b97ef82e96d9db4d2dfad13c68f1619f49cb89c
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Tue Feb 03 13:51:05 2015 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR15Q1.2/rev/1b97ef82e96d9db4d2dfad13c68f1619f49cb89c [^]

Fixes bug 29192: Fixed wrong costing entries after some circumstancies

Method 'getTrxCurrentCosting' in AverageCostAdjustment it was filtering by organization when working with 'production' type products, and this is not working, it should filter by client in this case, as all costing records for this type of products are at client level.

---
M src/org/openbravo/costing/AverageCostAdjustment.java
---
(0075889)
Sandrahuguet (developer)
2015-03-23 17:06

Code review + testing OK
(0076232)
hgbot (developer)
2015-04-01 08:09

Repository: erp/backports/3.0PR15Q2
Changeset: 1b97ef82e96d9db4d2dfad13c68f1619f49cb89c
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Tue Feb 03 13:51:05 2015 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR15Q2/rev/1b97ef82e96d9db4d2dfad13c68f1619f49cb89c [^]

Fixes bug 29192: Fixed wrong costing entries after some circumstancies

Method 'getTrxCurrentCosting' in AverageCostAdjustment it was filtering by organization when working with 'production' type products, and this is not working, it should filter by client in this case, as all costing records for this type of products are at client level.

---
M src/org/openbravo/costing/AverageCostAdjustment.java
---
(0076255)
priyam (administrator)
2015-04-01 08:31

closed again, as the status changed due the merge tag of 3.0PR15Q1.2 to backports/3.0PR15Q2

- Issue History
Date Modified Username Field Change
2015-03-09 09:25 umartirena Type defect => backport
2015-03-09 09:25 umartirena Target Version => 3.0PR15Q1.2
2015-03-09 19:59 dmitry_mezentsev Tag Attached: Approved
2015-03-23 17:05 hgbot Checkin
2015-03-23 17:05 hgbot Note Added: 0075888
2015-03-23 17:05 hgbot Status scheduled => resolved
2015-03-23 17:05 hgbot Resolution open => fixed
2015-03-23 17:05 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/de6027132069982d00515ce507c805a4a849df0b [^] => http://code.openbravo.com/erp/backports/3.0PR15Q1.2/rev/1b97ef82e96d9db4d2dfad13c68f1619f49cb89c [^]
2015-03-23 17:06 Sandrahuguet Note Added: 0075889
2015-03-23 17:06 Sandrahuguet Status resolved => closed
2015-03-23 17:06 Sandrahuguet Fixed in Version => 3.0PR15Q1.2
2015-04-01 08:09 hgbot Checkin
2015-04-01 08:09 hgbot Note Added: 0076232
2015-04-01 08:09 hgbot Status closed => resolved
2015-04-01 08:09 hgbot Fixed in SCM revision http://code.openbravo.com/erp/backports/3.0PR15Q1.2/rev/1b97ef82e96d9db4d2dfad13c68f1619f49cb89c [^] => http://code.openbravo.com/erp/backports/3.0PR15Q2/rev/1b97ef82e96d9db4d2dfad13c68f1619f49cb89c [^]
2015-04-01 08:31 priyam Status resolved => closed
2015-04-01 08:31 priyam Note Added: 0076255


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker