Merge branch 'master' of github.com:webnotes/erpnext
diff --git a/home/__init__.py b/home/__init__.py
index 9667efd..0861798 100644
--- a/home/__init__.py
+++ b/home/__init__.py
@@ -88,4 +88,5 @@
if method in ['on_update', 'on_submit']:
subject, color = feed_dict.get(doc.doctype, [None, None])
if subject:
- make_feed('', doc.doctype, doc.name, doc.owner, subject % doc.fields, color)
+ from webnotes.utils import encode_dict
+ make_feed('', doc.doctype, doc.name, doc.owner, subject % encode_dict(doc.fields.copy()), color)