fixed stock out multiple save logic
moved redirect logic outside sync function
Merge pull request #295 from musamusa/bug/fix-stock-out-sync-offline

Bug/fix stock out sync offline