Expand all sub-BOMs

Hello,
How can I expand all sub-BOMs and not only the second level ones?


In the image, every SFP is a BOM itself and I want to expand each one up to the most inner level.
Thank you