A Dijous, 26 de gener de 2012 13:33:55, Cédric Krier va escriure: > On 26/01/12 13:26 +0100, Albert Cervera i Areny wrote: > > A Dijous, 26 de gener de 2012 13:24:44, Cédric Krier va escriure: > > > > I agree that caching per location and per lot is not a good idea. > > > > > > > > So, new proposal: > > > > > > > > > > > > a naive product_by_lot function will be slow, so we need caching. As > > > > lots are a bit like temporary locations, > > > > > > If so, why not use location instead of lot? > > > > Because you can have several products with different lots in the same > > location > > > > :) > > This is not an answer. If you consider that a lot is like a temporary > location than you can not put different lots in the same location.
Well, I do not consider that a lot is like a temporary location. In fact, it has nothing to do with it. -- Albert Cervera i Areny http://www.NaN-tic.com Tel: +34 93 553 18 03 http://twitter.com/albertnan http://www.nan-tic.com/blog -- [email protected] mailing list
