Merge pull request #6634 from KanchanChauhan/employee-patch-fixed

Patch fixed for Employee
This commit is contained in:
Nabin Hait 2016-10-18 12:14:16 +05:30 committed by GitHub
commit 2dcee15e50
2 changed files with 2 additions and 2 deletions

View File

@ -2085,7 +2085,7 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-09-21 18:12:12.474098", "modified": "2016-10-18 18:12:12.474098",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "HR", "module": "HR",
"name": "Employee", "name": "Employee",

View File

@ -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)") 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
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.db.sql("update `tabEmployee` set prefered_contact_email = IFNULL(prefered_contact_email,'') ")
execute:frappe.reload_doctype("Salary Slip") execute:frappe.reload_doctype("Salary Slip")
execute:frappe.db.sql("update `tabSalary Slip` set posting_date=creation") execute:frappe.db.sql("update `tabSalary Slip` set posting_date=creation")