Release stock method
Move stock quantity reduction to allocation item save
only initialiaze allocation if there's any remaining items to allocate
Tidy up take_stock