← Back to team overview

openerp-expert-production team mailing list archive

[Bug 588154] Re: Inventory: movement input with date prior to physical inventory are reflected in stocks

 

Hi

> Bug description:
> I setup a physical inventory with date 2010/05/19. Stock is 5 for product x
> When I have an internal move  for 1 piece of product x with date 2010/05/01, the current calculated stock at 2010/06/01 is 4 which seems to me incorrect as the current stock should reflect the physical inventory on 2010/05/19 and be 5.

IMHO the program works good, to have correct states and turnover in
conjunction with the accounts the state "on day" should sum all
transactions before this day (the date order is irrelevant).

Note that in your case state between 2010/05/01 and 2010/05/19 are negative.
In your case the problem is how to have a "real time inventory" in
which the states are newer negative, the solution might be adding a
new constraint to all inventory documents that: document date is never
< today ?

Regards
Filip