Merge pull request #8532 from surajshetty3416/fix-file-issue

fix: Ignore permissions while creating file for prepared report
This commit is contained in:
mergify[bot] 2019-10-02 06:55:48 +00:00 committed by GitHub
commit 3aa99f0143
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,7 @@ def create_json_gz_file(data, dt, dn):
"attached_to_name": dn,
"content": compressed_content
})
_file.save()
_file.save(ignore_permissions=True)
@frappe.whitelist()