mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-24 05:32:46 +01:00
fix: patch
This commit is contained in:
@@ -5,9 +5,9 @@ from __future__ import unicode_literals
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
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)
|
||||
print(template.tasks)
|
||||
replace_tasks = False
|
||||
new_tasks = []
|
||||
for task in template.tasks:
|
||||
|
||||
Reference in New Issue
Block a user