This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Merge branch 'hotfix'
version-14
Nabin Hait
8 years ago
parent
171712ec87
43cacac5eb
commit
9b7a7e4d6d
2 changed files
with
3 additions
and
1 deletions
Split View
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
View File
@@ -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
View File
@@ -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…
Cancel
Save