fix in doctype refactor patch

This commit is contained in:
Anand Doshi 2012-03-20 17:49:23 +05:30
parent 986caee03d
commit 310bc462b9
2 changed files with 5 additions and 2 deletions

View File

@ -130,7 +130,10 @@ def create_file_list():
obj.doc.allow_attach = 1
obj.doc.save()
obj.make_file_list()
obj.on_update()
from webnotes.model.db_schema import updatedb
updatedb(obj.doc.name)
from webnotes.utils.cache import CacheItem
CacheItem(obj.doc.name).clear()
def change_to_decimal():
webnotes.conn.commit()

View File

@ -1 +1 @@
979
980