diff --git a/patches/june_2013/p02_update_project_completed.py b/patches/june_2013/p02_update_project_completed.py index 27eb1d0063..4bc5d6dfb1 100644 --- a/patches/june_2013/p02_update_project_completed.py +++ b/patches/june_2013/p02_update_project_completed.py @@ -1,6 +1,6 @@ import webnotes def execute(): - webnotes.reload_doc("project", "doctype", "project") + webnotes.reload_doc("projects", "doctype", "project") for p in webnotes.conn.sql_list("""select name from tabProject"""): webnotes.bean("Project", p).controller.update_percent_complete() \ No newline at end of file