From 6e6fb429065a8aec09e52fabfaf5a7fc5ee7f8a1 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Fri, 7 Jun 2013 15:55:31 +0530 Subject: [PATCH] [projects] [patch] fixed project completed patch --- patches/june_2013/p02_update_project_completed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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