Hi Giac55
Sorry for the delayed answer, hope you understand it was weekend 🙂
Well, I'm not sure if it is exactly what you are looking but I will explain it to you, and if it's not what you are looking for please let me know.
In your case I would use our premium add-on ATUM Product Levels, with this add-on you will be able to create raw materials (the different types of grinds) to create final products (the coffee you sell). Using this add-on you will be able to deduct the quantity of your final products from the raw materials.
I leave you the link to the documentation of the add-on where you will find useful info about how it works: https://forum.stockmanagementlabs.com/t/product-levels-documentation
And the link to the demo site in case you want to try the free trial: https://stockmanagementlabs.com/addons/atum-product-levels/
Best Regards,
Andrea.