diff --git a/patches/patch.py b/patches/patch.py index fa5ef49753..3d5e308b88 100644 --- a/patches/patch.py +++ b/patches/patch.py @@ -1,7 +1,7 @@ # REMEMBER to update this # ======================== -last_patch = 318 +last_patch = 319 #------------------------------------------- @@ -1277,3 +1277,6 @@ def execute(patch_no): sql("update `tabPage` set name = 'profile-settings' where page_name = 'Profile Settings'") elif patch_no == 318: reload_doc('utilities', 'doctype', 'bulk_rename_tool') + elif patch_no == 319: + sql("delete from tabFeed where doc_name like 'New %'") + diff --git a/utilities/doctype/bulk_rename_tool/bulk_rename_tool.py b/utilities/doctype/bulk_rename_tool/bulk_rename_tool.py index 19cf07f6c1..62d4d83c6c 100644 --- a/utilities/doctype/bulk_rename_tool/bulk_rename_tool.py +++ b/utilities/doctype/bulk_rename_tool/bulk_rename_tool.py @@ -63,7 +63,7 @@ class DocType: msgprint("[Ignored] Incorrect format: %s" % str(line)) - msgprint("%s items updated" % updated) + msgprint("%s items updated" % updated) # Update CSV data def get_csv_data(self): diff --git a/utilities/doctype/bulk_rename_tool/bulk_rename_tool.txt b/utilities/doctype/bulk_rename_tool/bulk_rename_tool.txt index a5eb82cc48..0accf93dbf 100644 --- a/utilities/doctype/bulk_rename_tool/bulk_rename_tool.txt +++ b/utilities/doctype/bulk_rename_tool/bulk_rename_tool.txt @@ -5,8 +5,8 @@ { 'creation': '2011-07-07 18:05:53', 'docstatus': 0, - 'modified': '2011-07-07 18:05:53', - 'modified_by': 'Guest', + 'modified': '2011-07-07 18:51:19', + 'modified_by': 'Administrator', 'owner': 'Guest' }, @@ -21,7 +21,7 @@ 'name': '__common__', 'section_style': 'Simple', 'show_in_menu': 0, - 'version': 4 + 'version': 6 }, # These values are common for all DocField