mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-20 01:55:01 +00:00
Update convert_timelog_to_timesheet.py
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user