app/Models/Observers/InventoryObserver.php
public function restored(Inventory $model)
    {
        $stocks = $model->stocks()->onlyTrashed()->get();

        if (count($stocks) > 0) {
            foreach ($stocks as $stock) {
                $stock->restore();
            }
        }
    }
public function restored(Inventory $model)
    {
        $stocks = $model->stocks()->onlyTrashed()->get();

        if (count($stocks) > 0) {
            foreach ($stocks as $stock) {
                $stock->restore();
            }
        }
    }
Captures the Inventory models restored event
and cascades the restore to all of it's stocks.

@param Inventory $model