Cost production cycle

I will move the function to the end.
however this test needs to be in stock_entry as it also checks if the total fixed cost is being fetched from production order and added to the stock entry rate.