Location: Sales-->Sales Order -->Sales Order Details The “Attach Purchase Order” field allows uploading all file types (including images and setup files), whereas it should restrict uploads to only document formats like PDF or Excel.
Created attachment 28 [details] 19.Invalid file types accepted in Purchase Order attachment field.png