← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 504643] Re: Stock Moves Dates

 

[6.0stab] Just to add that when stock move is on planning stage date
fields behaviour is wrong too.

When you create Picking and add stock move there are fields Date and
Scheduled Date.

Description for Date field is fine: Scheduled Date until move is done,
then date of actual move processing.

But in code I cannot see any reflection of this functionality. It is
always creation date. So this field is wrong for confirmed moves and for
done too. And we get wrong values from the function
get_product_available as described in first post. I am trying finishing
stock_planning module and without this correction will not go to far.

I suggest simply add code to fulfil help text for Date field on Stock
Move.

-- 
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/504643

Title:
  Stock Moves Dates

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  We have to change the way the date of the stock move are handle and the way of computing stock level borned by date.
  Actually when you create a picking, it has a planned date and a date done, when you validate the picking the date done is filled, but this information is not reported at the stock move level.

  If you look at the get_product_available function you can see it use
  the move date planned to compute stock level.

  This is not good because it does not represent reality in the virtual stock (That is not too bad) and in real stock(That is really bad).
  As it is not representative of reality, this cause quite a problem when you have fiscal controlling based on your stock or if you want to make real stock forecast.

  Maybe when you validate the picking you should change the planned date
  of the move, or use the picking date of the move to do this
  computation, or have a planned date or a real date on the stock move.

  This point has to be discussed because, the result of the stock level
  does not fit reality and this is quite a problem.

  Regards
  Nicolas