hooks fixes

This commit is contained in:
Rushabh Mehta
2014-02-05 17:04:49 +05:30
parent cc008cc109
commit 307fac8b78
4 changed files with 22 additions and 23 deletions

View File

@@ -82,7 +82,7 @@ def make_feed(feedtype, doctype, name, owner, subject, color):
f.full_name = get_fullname(owner)
f.save()
def update_feed(controller, method=None):
def update_feed(bean, method=None):
"adds a new feed"
doc = controller.doc
if method in ['on_update', 'on_submit']: