Try ERPNext Buy Support Partners Foundation

Update item valuation with cost as per BOM?

Is there a way to update an item valuation through the cost as per BOM?

Yes, you can update the Item valuation rate through a Stock reconciliation transaction.

For more details, please refer to the below link:

Hope this helps!