Improved patch over stock_lot

This commit is contained in:
Guillem Barba 2015-05-04 09:26:58 +02:00
parent 94a374b41f
commit cf3491e7c0
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ Index: stock.py
+ else:
+ product_moves.append(move)
+ return (super(Move, cls).assign_try(lot_moves,
+ with_childs=with_childs, grouping=('product', 'lot')) and
+ super(Move, cls).assign_try(product_moves,
+ with_childs=with_childs, grouping=('product', 'lot'))
+ & super(Move, cls).assign_try(product_moves,
+ with_childs=with_childs, grouping=grouping))
+