brotherton-erpnext/patches/june_2013/p02_update_project_completed.py
2013-06-07 14:52:53 +05:30

5 lines
167 B
Python

import webnotes
def execute():
for p in webnotes.conn.sql_list("""select name from tabProject"""):
webnotes.bean("Project", p).controller.update_percent_complete()