[FIX] logical error in the batch processing of stock moves in fill_inventory, introduced while fixing Bug #1312045: Importing inventory pushes the OS to out-of-memory condition when many Stock Moves exist
[IMP] use xrange to get an iterrator
[MRG] fix logical error in the batch processing of stock moves in fill_inventory, introduced in bugfix of lp:1312045
Merge branch 'master' of bzr::lp:ocb-addons/7.0 into ocb-7.0