mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-02 21:18:27 +00:00
fix: attachments should be an empty list by default (#36757)
fix: attachments should be an empty list by default
This commit is contained in:
@@ -205,7 +205,7 @@ class RequestforQuotation(BuyingController):
|
||||
if preview:
|
||||
return {"message": message, "subject": subject}
|
||||
|
||||
attachments = None
|
||||
attachments = []
|
||||
if self.send_attached_files:
|
||||
attachments = self.get_attachments()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user