Do not override the manually added valuation rate in stock entry (#24221)
Do not manufacture same serial no multiple times (#24163)