This website works better with JavaScript.
首頁
探索
說明
登入
anoopmb
/
frappe
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
Merge branch 'hotfix'
version-14
Nabin Hait
8 年之前
父節點
171712ec87
43cacac5eb
當前提交
9b7a7e4d6d
共有
2 個文件被更改
,包括
3 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
frappe/__init__.py
+2
-0
frappe/model/document.py
+ 1
- 1
frappe/__init__.py
查看文件
@@ -13,7 +13,7 @@ import os, sys, importlib, inspect, json
from .exceptions import *
from .utils.jinja import get_jenv, get_template, render_template
__version__ = "7.0.4
2
"
__version__ = "7.0.4
3
"
local = Local()
+ 2
- 0
frappe/model/document.py
查看文件
@@ -999,6 +999,8 @@ def execute_action(doctype, name, action, **kwargs):
try:
getattr(doc, action)(**kwargs)
except Exception:
frappe.db.rollback()
# add a comment (?)
if frappe.local.message_log:
msg = json.loads(frappe.local.message_log[-1]).get('message')
Write
Preview
Loading…
取消
儲存