Hi all,
here i have a piece of code
print('----deleting all run time----')
try:
run_time = frappe.db.get_list('run time')
for r in run_time:
print('name: ',r['name'])
frappe.delete_doc('run time',r['name'])
except Exception as e:
print('error deleting run time: ',e)
but when this code ran, the documents weren’t deleted
there is no error as you can see below
And this below is the ‘run time.py’ file
Anyone have any idea why this happens?
Thanks in advance