fix: missing QR Code in auto email attachment (#26599)

This commit is contained in:
Subin Tom 2021-08-02 11:34:28 +05:30 committed by GitHub
parent b5c7fce689
commit a75c7c48d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -966,7 +966,7 @@ class GSPConnector():
"attached_to_doctype": doctype,
"attached_to_name": docname,
"attached_to_field": "qrcode_image",
"is_private": 1,
"is_private": 0,
"content": qr_image.getvalue()})
_file.save()
frappe.db.commit()