zerodha / frappe-attachments-s3

A frappe app to upload file attachments in doctypes to s3.
Other
115 stars 131 forks source link

Added 'File' as default value in place of an empty 'parent_doctype' #49

Closed kingraphaii closed 1 year ago

kingraphaii commented 1 year ago

When uploading a file, say in a custom dialog. The parent_doctype variable will be empty (None) so when the controller tries to concatenate the filepath, it throws an error.

This change will use File as a default value in that case.