Error fixed in task

This commit is contained in:
Nabin Hait 2011-12-14 18:09:13 +05:30
parent 9e4d5b9649
commit b93ea233ff
2 changed files with 3 additions and 2 deletions

View File

@ -333,4 +333,4 @@
'oldfieldtype': 'Small Text',
'permlevel': 1
}
]
]

View File

@ -9,6 +9,7 @@ from webnotes.model.code import get_obj, get_server_obj, run_server_obj, updated
from webnotes import session, form, is_testing, msgprint, errprint
sql = webnotes.conn.sql
set = webnotes.conn.set
# -----------------------------------------------------------------------------------------
@ -164,4 +165,4 @@ class DocType:
return cstr('true')
def on_cancel(self):
self.cancel_task()
self.cancel_task()