El 05/09/2013 16:21, "Cédric Krier" <[email protected]> va escriure: > > On 05/09/13 15:00 +0200, Guillem Barba Domingo wrote: > > > > I think the best solution is to convert expected quantity to a Function > > field because: > > - you ensure the final stock is the quantity you put (what I think is the > > expected behaviour of an inventory) giving *always* the current expected > > quantity > > No this is wrong. It can happens a lot of time between when you start to > work on the inventory and when you fill it and when you confirm it. > I could also have case where the inventory was counted some days ago and > fill only now but the delta must be computed base on the day it was > counted. > Having a function field is in no way a good solution.
The field could be filled in by on_change of product_id
