mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
[fix] update timestamps and relink communication for timesheet
This commit is contained in:
@@ -318,3 +318,4 @@ erpnext.patches.v7_0.set_party_name_in_payment_entry
|
|||||||
execute:frappe.db.sql("update `tabTimesheet` ts, `tabEmployee` emp set ts.employee_name = emp.employee_name where emp.name = ts.employee and ts.employee_name is null and ts.employee is not null")
|
execute:frappe.db.sql("update `tabTimesheet` ts, `tabEmployee` emp set ts.employee_name = emp.employee_name where emp.name = ts.employee and ts.employee_name is null and ts.employee is not null")
|
||||||
execute:frappe.db.sql("delete from `tabTimesheet Detail` where NOT EXISTS (select name from `tabTimesheet` where name = `tabTimesheet Detail`.parent)")
|
execute:frappe.db.sql("delete from `tabTimesheet Detail` where NOT EXISTS (select name from `tabTimesheet` where name = `tabTimesheet Detail`.parent)")
|
||||||
erpnext.patches.v7_0.update_mode_of_payment_type
|
erpnext.patches.v7_0.update_mode_of_payment_type
|
||||||
|
finally:erpnext.patches.v7_0.update_timesheet_modified_created
|
||||||
|
|||||||
Reference in New Issue
Block a user