When we have too many products from orderpoints we cannot compute the forecasts for all at once. Otherwise we may get a MemoryError. Here we iterate by chunks. This error was observed on upg-417045, where there were 381927 prodcuts. closes odoo/odoo#106196 X-original-commit: feea4e5f147b3b26cbc032daaf0ceabbe3417912 Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com> Signed-off-by: Alvaro Fuentes Suarez (afu) <afu@odoo.com>