← Back to team overview

credativ team mailing list archive

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

 

Hello Ferdinand,

can you shrare your views when average price value wrong in stock move.Because it has to be clear on which cost we take, and not one of the three.
so please give more reference about this.

Thanks.

-- 
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):
  Fix Committed

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