使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
anoopmb
/
frappe
关注
1
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
浏览代码
fix: No need to check for permssion again while attaching a file
version-14
Suraj Shetty
2 年前
父节点
066d5a4245
当前提交
8f48c4d943
共有
1 个文件被更改
,包括
1 次插入
和
1 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+1
-1
frappe/core/doctype/file/utils.py
+ 1
- 1
frappe/core/doctype/file/utils.py
查看文件
@@ -327,7 +327,7 @@ def attach_files_to_document(doc: "File", event) -> None:
folder="Home/Attachments",
)
try:
file.insert()
file.insert(
ignore_permissions=True
)
except Exception:
doc.log_error("Error Attaching File")
撰写
预览
正在加载...
取消
保存