Fixing location_id problem in Stock Inventory