← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 779145] Re: stock move - price_unit missing for avg price and not "IN"

 

Hello Dr Ferdinand,

I have checked your issue and patch.

But I am not getting exactly where did you faced the problem because I
have tried all scenario with "Average price " and all are working fine.

So would you please provide the steps where you faced the problem.

Thanks and waiting for your reply!


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

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/779145

Title:
  stock move - price_unit missing for avg price and not "IN"

Status in OpenERP Modules (addons):
  Incomplete

Bug description:
  to be able to calculate the stock value for every point in time for avg price and real time
  obviously for accounting purpose real time we must have 
  account_balance == stock values
  and must be able to proove it

  if (pick.type != 'in') and (move.product_id.cost_method == 'average'):

  if all stock moves have the price_unit field  set:
  qty * price_unit= move_value
  and sum(+/- move_value) 
  enables to calculated  the total stock value per product in every point of time matching the account balance

  a little step further will be to calculated the average price per
  stock_location and lot


References