Update convert_timelog_to_timesheet.py

This commit is contained in:
Nabin Hait 2016-09-07 17:19:27 +05:30 committed by GitHub
parent 1bdffbff57
commit 1bf8e70339

View File

@ -7,7 +7,7 @@ def execute():
if not frappe.db.table_exists("Time Log"):
return
for data in frappe.db.sql("select * from `tabTime Log` where where docstatus < 2", as_dict=1):
for data in frappe.db.sql("select * from `tabTime Log` where docstatus < 2", as_dict=1):
if data.task:
company = frappe.db.get_value("Task", data.task, "company")
elif data.production_order: