To update the product details while making a purchase invoice, please follow the below mentioned steps:
Step 1: Go to Settings
Step 2: Go to Preferences under the General Settings >> Go to Document >> Go to Purchases >> Update product details >> Select desired input (selected product fields will be updated during the purchase and stock in on confirmation) >> Save Changes