commit | 3d8f8f68d8dd4aeccd5fde7539efa66ef244accb | [log] [tgz] |
---|---|---|
author | Pratik Vyas <pdvyas@gmail.com> | Fri May 16 12:38:24 2014 +0530 |
committer | Pratik Vyas <pdvyas@gmail.com> | Fri May 16 12:38:24 2014 +0530 |
tree | 73e3a297955028fb873b35e9e20e3780d640dd13 | |
parent | a220e5d850277ab9353309b9fe12a06f065765af [diff] | |
parent | 38d5424b216962039bc9597532184ad2ef5e7d6f [diff] |
Merge pull request #1652 from anandpdoshi/hotfix Do not create Feed when frappe.flags.in_patch
diff --git a/erpnext/home/__init__.py b/erpnext/home/__init__.py index 15c9819..04d5344 100644 --- a/erpnext/home/__init__.py +++ b/erpnext/home/__init__.py
@@ -83,6 +83,9 @@ def update_feed(doc, method=None): "adds a new feed" + if frappe.flags.in_patch: + return + if method in ['on_update', 'on_submit']: subject, color = feed_dict.get(doc.doctype, [None, None]) if subject: