Fixed project_copied_from patch
This commit is contained in:
parent
3e519770de
commit
825e053e66
@ -2,8 +2,10 @@ from __future__ import unicode_literals
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
frappe.db.sql('''
|
||||
UPDATE `tabProject`
|
||||
SET copied_from=name
|
||||
WHERE copied_from is NULL
|
||||
''')
|
||||
frappe.reload_doctype("Project")
|
||||
|
||||
frappe.db.sql('''
|
||||
UPDATE `tabProject`
|
||||
SET copied_from=name
|
||||
WHERE copied_from is NULL
|
||||
''')
|
Loading…
Reference in New Issue
Block a user