[hotfix] assign patch
This commit is contained in:
parent
76d5075bbc
commit
69f40f8080
1 changed files with 5 additions and 1 deletions
|
|
@ -3,4 +3,8 @@ import frappe
|
|||
def execute():
|
||||
for name in frappe.db.sql_list("""select name from `tabToDo`
|
||||
where ifnull(reference_type, '')!='' and ifnull(reference_name, '')!=''"""):
|
||||
frappe.get_doc("ToDo", name).on_update()
|
||||
try:
|
||||
frappe.get_doc("ToDo", name).on_update()
|
||||
except Exception, e:
|
||||
if e.args[0]!=1146:
|
||||
raise
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue