How to save Voucher against receipt without the following error ‘Invalid Item Series’?

Cause:
System shows the item series related error in direct voucher due to item series stock valuation flag was not selected with the correct values of the items used in receipts.
Remedies:
Users can save the Purchase voucher against the receipt of the selected Purchase order. However users have to check the item series of the items in the Purchase order, in item series the stock valuation should be standard.