9 lines
191 B
Python
9 lines
191 B
Python
|
from __future__ import unicode_literals
|
||
|
import frappe
|
||
|
|
||
|
def execute():
|
||
|
frappe.db.sql('''
|
||
|
UPDATE `tabProject`
|
||
|
SET copied_from=name
|
||
|
WHERE copied_from is NULL
|
||
|
''')
|