To make automatic stock out of raw materials once finished/main product is stocked in, please follow the steps mentioned below.
Step 1: Kindly go to the inventory >> Select grouped product >> Click on stock in.
Step 2: Enter the quantity for finished/main product >> Scroll down.
Step 3: Enable stock out raw material >> Click on add quantity.