[IMP] Improve error handling on stock image import
[IMP] Take actual stock if available, otherwise calculate from available + outgoing available