From dc86964e91e25b3b012cba78bb8d0e20cdff6151 Mon Sep 17 00:00:00 2001 From: Kanchan Chauhan Date: Tue, 18 Oct 2016 11:29:41 +0530 Subject: [PATCH] Patch fixed for Employee --- erpnext/hr/doctype/employee/employee.json | 2 +- erpnext/patches.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/hr/doctype/employee/employee.json b/erpnext/hr/doctype/employee/employee.json index 0ae69b99df2..a99d8742cf6 100644 --- a/erpnext/hr/doctype/employee/employee.json +++ b/erpnext/hr/doctype/employee/employee.json @@ -2085,7 +2085,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2016-09-21 18:12:12.474098", + "modified": "2016-10-18 18:12:12.474098", "modified_by": "Administrator", "module": "HR", "name": "Employee", diff --git a/erpnext/patches.txt b/erpnext/patches.txt index 5b3781f53d3..b9cb3fe2f76 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -329,7 +329,7 @@ erpnext.patches.v7_1.fix_link_for_customer_from_lead 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 -execute:frappe.reload_doctype('Employee') +execute:frappe.reload_doctype('Employee') #2016-10-18 execute:frappe.db.sql("update `tabEmployee` set prefered_contact_email = IFNULL(prefered_contact_email,'') ") execute:frappe.reload_doctype("Salary Slip") execute:frappe.db.sql("update `tabSalary Slip` set posting_date=creation")