← Back to team overview

credativ team mailing list archive

[Bug 904029] Re: average price wrong value in stock move

 

Hello,

I agree with DR Ferdinand, at there is should be take the values form
the purchase order line not form the product's standard cost.

I have not reproduce it, but regarding code code improvement I am
confirming this issue.

Thank you!

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/904029

Title:
  average price wrong value in stock move

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  stock_partial_picking.py

  def _product_cost_for_average_update

  it is not possible to calculate a new avg price using the product_id.standard_price !
  'cost': move.product_id.standard_price,

  it is necessary to take the (new) price from partial picking or if
  empty from purchase line

  the standard price can only be used for valuation of production

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/904029/+subscriptions


References