diff --git a/erpnext/patches/mar_2012/doctype_get_refactor.py b/erpnext/patches/mar_2012/doctype_get_refactor.py index 37c752f0451..9818f7c6662 100644 --- a/erpnext/patches/mar_2012/doctype_get_refactor.py +++ b/erpnext/patches/mar_2012/doctype_get_refactor.py @@ -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() diff --git a/version.num b/version.num index 6fb439a5f68..a637eba5461 100644 --- a/version.num +++ b/version.num @@ -1 +1 @@ -979 \ No newline at end of file +980 \ No newline at end of file