I am trying to upload and attach standard documents. For example our immigration docs are called H1b.doc and is assigned to many people, the issue is ERPNext will only keep one copy of this and not change the file name. What i’d like to do is either add a script to the upload.js which will add something like a timestamp or random character to the filename to #1 allow the same doc name to have multiple versions as it will be assigned to many users, and #2 have a more difficult to guess URL as anyone can currently take a guess and download the file.
I was thinking maybe there is a way to upload the static files to Google Cloud Storage, though that might be overkill for what we need. Any advice on how to do this would be great.