From 651dc5b345061480c9a2a75c8cbcf08fb41d4c80 Mon Sep 17 00:00:00 2001 From: Valmik Jangla Date: Mon, 2 May 2016 12:00:06 +0530 Subject: [PATCH] Reset Values in Tools --- erpnext/patches.txt | 2 +- erpnext/patches/v5_0/reset_values_in_tools.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/erpnext/patches.txt b/erpnext/patches.txt index 1b9cbe5a3d..1842c5491f 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -169,7 +169,7 @@ erpnext.patches.v5_0.update_item_and_description_again erpnext.patches.v6_0.multi_currency erpnext.patches.v5_0.repost_gle_for_jv_with_multiple_party erpnext.patches.v5_0.portal_fixes -erpnext.patches.v5_0.reset_values_in_tools +erpnext.patches.v5_0.reset_values_in_tools # 02-05-2016 execute:frappe.delete_doc("Page", "users") erpnext.patches.v5_0.update_material_transferred_for_manufacturing_again erpnext.patches.v5_0.index_on_account_and_gl_entry diff --git a/erpnext/patches/v5_0/reset_values_in_tools.py b/erpnext/patches/v5_0/reset_values_in_tools.py index 2825e4fc64..5aac83eef2 100644 --- a/erpnext/patches/v5_0/reset_values_in_tools.py +++ b/erpnext/patches/v5_0/reset_values_in_tools.py @@ -6,6 +6,7 @@ import frappe def execute(): for dt in ["Payment Tool", "Bank Reconciliation", "Payment Reconciliation", "Leave Control Panel", - "Salary Manager", "Upload Attenadance", "Production Planning Tool", "BOM Replace Tool"]: + "Salary Manager", "Upload Attenadance", "Production Planning Tool", "BOM Replace Tool", "Customize Form", + "Employee Attendance Tool", "Rename Tool", "BOM Replace Tool", "Process Payroll", "Naming Series"]: frappe.db.sql("delete from `tabSingles` where doctype=%s", dt) \ No newline at end of file