This website works better with JavaScript.
首頁
探索
說明
登入
anoopmb
/
frappe
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
fix: dont db_set on unsaved document
(cherry picked from commit
1bd61d5c25
)
version-14
Ankush Menat
2 年之前
committed by
Mergify
父節點
b79b2d39a6
當前提交
798206c3b3
共有
1 個文件被更改
,包括
3 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
frappe/model/document.py
+ 3
- 0
frappe/model/document.py
查看文件
@@ -1173,6 +1173,9 @@ class Document(BaseDocument):
# to trigger notification on value change
self.run_method("before_change")
if self.name is None:
return
frappe.db.set_value(
self.doctype,
self.name,
Write
Preview
Loading…
取消
儲存