[projects] [patch] fixed project completed patch

This commit is contained in:
Anand Doshi 2013-06-07 15:55:31 +05:30
parent 224ad17b1d
commit 6e6fb42906

View File

@ -1,6 +1,6 @@
import webnotes import webnotes
def execute(): 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"""): for p in webnotes.conn.sql_list("""select name from tabProject"""):
webnotes.bean("Project", p).controller.update_percent_complete() webnotes.bean("Project", p).controller.update_percent_complete()