[fix] [patch] remove default activity type "Planning"
diff --git a/erpnext/patches/v7_0/convert_timelog_to_timesheet.py b/erpnext/patches/v7_0/convert_timelog_to_timesheet.py
index 9a77147..eb727e5 100644
--- a/erpnext/patches/v7_0/convert_timelog_to_timesheet.py
+++ b/erpnext/patches/v7_0/convert_timelog_to_timesheet.py
@@ -2,7 +2,7 @@
from erpnext.manufacturing.doctype.production_order.production_order import make_time_sheet, add_timesheet_detail
-def execute():
+def execute():
for data in frappe.get_all('Time Log', fields=["*"],
filters = [["docstatus", "<", "2"]]):
time_sheet = make_time_sheet(data.production_order)
@@ -18,9 +18,9 @@
'hours': data.hours,
'to_time': data.to_time,
'project': data.project,
- 'activity_type': data.activity_type or "Planning",
+ 'activity_type': data.activity_type,
'operation': data.operation,
'operation_id': data.operation_id,
'workstation': data.workstation,
'completed_qty': data.completed_qty
- }
\ No newline at end of file
+ }