fix: patch

This commit is contained in:
pateljannat 2020-12-17 18:21:34 +05:30
parent 09f0e9111d
commit 79b71462cb

View File

@ -5,7 +5,7 @@ from __future__ import unicode_literals
import frappe
def execute():
frappe.reload_doc("projects", "doctype", "project_template)
frappe.reload_doc("projects", "doctype", "project_template")
for template_name in frappe.db.sql(""" select name from `tabProject Template` """, as_dict=1):
template = frappe.get_doc("Project Template", template_name.name)
replace_tasks = False