From 7ba60570e71528c8e5c9b3ca1fa0e8a386908e72 Mon Sep 17 00:00:00 2001 From: marination Date: Fri, 22 Jan 2021 16:55:06 +0530 Subject: [PATCH] fix: Spaces to Tabs --- erpnext/patches/v13_0/add_naming_series_to_old_projects.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/patches/v13_0/add_naming_series_to_old_projects.py b/erpnext/patches/v13_0/add_naming_series_to_old_projects.py index f74f541036..79b67533ed 100644 --- a/erpnext/patches/v13_0/add_naming_series_to_old_projects.py +++ b/erpnext/patches/v13_0/add_naming_series_to_old_projects.py @@ -17,8 +17,8 @@ def execute(): for entry in projects: # need to save the doc so that users can edit old projects - doc = frappe.get_doc("Project", entry.name) - if not doc.naming_series: + doc = frappe.get_doc("Project", entry.name) + if not doc.naming_series: doc.naming_series = "PROJ-.####" doc.save()