mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +00:00
frappe/frappe#478, more changes, removed bean
This commit is contained in:
@@ -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"""
|
||||
|
||||
Reference in New Issue
Block a user