mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +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:
|
if preview:
|
||||||
return {"message": message, "subject": subject}
|
return {"message": message, "subject": subject}
|
||||||
|
|
||||||
attachments = None
|
attachments = []
|
||||||
if self.send_attached_files:
|
if self.send_attached_files:
|
||||||
attachments = self.get_attachments()
|
attachments = self.get_attachments()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user