User needs to fetch the transactions that were created via Setup > Accounting > Enter Opening Balances using a saved search.
In the saved search, we can provide the memo as the criteria.
So in the transaction search of Journal, provide the below criteria:
Memo: is Opening Balance
But, in the journal, the opening balance account line, does not have the ‘opening balance’ memo.

So provide the criteria as per the below screenshot