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

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

View File

@ -969,7 +969,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()