Closed kingraphaii closed 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.
parent_doctype
None
This change will use File as a default value in that case.
File
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.