frappe/frappe#478, more changes, removed bean

This commit is contained in:
Rushabh Mehta
2014-04-03 14:30:42 +05:30
parent d36cb5c812
commit f14b809ab5
59 changed files with 243 additions and 198 deletions

View File

@@ -86,7 +86,7 @@ def update_feed(doc, method=None):
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)
make_feed('', doc.doctype, doc.name, doc.owner, subject % doc.as_dict(), color)
def make_comment_feed(doc, method):
"""add comment to feed"""