[minor] communication, webnotes/erpnext#790

This commit is contained in:
Rushabh Mehta
2013-09-04 16:20:18 +05:30
parent 140f9052a9
commit 090d410498
4 changed files with 8 additions and 8 deletions

View File

@@ -88,5 +88,4 @@ def update_feed(controller, method=None):
if method in ['on_update', 'on_submit']:
subject, color = feed_dict.get(doc.doctype, [None, None])
if subject:
from webnotes.utils import encode_dict
make_feed('', doc.doctype, doc.name, doc.owner, subject % encode_dict(doc.fields.copy()), color)
make_feed('', doc.doctype, doc.name, doc.owner, subject % doc.fields, color)