Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0031049Openbravo ERP04. Warehouse managementpublic2015-09-25 14:362015-10-05 17:06
0031049: Wrong cost after executing the Price Correction Background
Wrong cost after executing the Price Correction Background
As group admin role,
  Go to Purchase Order:
    create a new one for a new product. 5 Ud. 60€/Ud.
 Create the goods receipt related.
Launch the Costing Background process. Average cost: 60
Create the Purchase invoice related. 50€/Ud
Launch the 'Price Correction Background'
Create the Return to Vendor. Qty: 3. 60€/Ud.
Create the Return to vendor shipment.
Launch the Costing Background Process. Unit Cost: 50. OK
Create the Purchase Invoice related with the RTV Shipment. 50€Ud.
Launch the 'Price Correction Background. The Cost Adjustment generates a new costing = 200. This is wrong.

No tags attached.
blocks defect 00309363.0PR15Q4 closed dmiguelez Wrong cost after executing the Price Correction Background 
Issue History
2015-10-05 17:03dmiguelezTypedefect => backport
2015-10-05 17:03dmiguelezTarget Version3.0PR15Q4 => 3.0PR15Q3.2
2015-10-05 17:05hgbotCheckin
2015-10-05 17:05hgbotNote Added: 0080834
2015-10-05 17:06dmiguelezStatusscheduled => resolved
2015-10-05 17:06dmiguelezFixed in SCM revision [^] => [^]
2015-10-05 17:06dmiguelezResolutionopen => fixed
2015-10-05 17:06dmiguelezStatusresolved => closed

2015-10-05 17:05   
Repository: erp/backports/3.0PR15Q3.2
Changeset: cf150bebaa2b3039bee1f7384dd320f9d9953d5f
Author: David Miguelez <david.miguelez <at>>
Date: Mon Sep 28 18:10:02 2015 +0200
URL: [^]

iFixes Issue 31049. Return Material flow should not be included
in Price Correction Process.
Also, make sure every Transaction that goes through this process
is set to no longer check Price Correction.

M src/org/openbravo/costing/