fix: attachments should be an empty list by default (#36757)
fix: attachments should be an empty list by default
This commit is contained in:
parent
8f04945cef
commit
9d29ec8eac
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user