mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 13:24:47 +00:00
Fixed project_copied_from patch
This commit is contained in:
@@ -2,8 +2,10 @@ from __future__ import unicode_literals
|
|||||||
import frappe
|
import frappe
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
frappe.db.sql('''
|
frappe.reload_doctype("Project")
|
||||||
UPDATE `tabProject`
|
|
||||||
SET copied_from=name
|
frappe.db.sql('''
|
||||||
WHERE copied_from is NULL
|
UPDATE `tabProject`
|
||||||
''')
|
SET copied_from=name
|
||||||
|
WHERE copied_from is NULL
|
||||||
|
''')
|
||||||
Reference in New Issue
Block a user