From 1107d50a591dc91e7a862f776dbfe7349a7cafee Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 20 Dec 2012 12:42:16 +0530 Subject: [PATCH] reload stock entry before running custom fields patch --- patches/december_2012/stock_entry_cleanup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/patches/december_2012/stock_entry_cleanup.py b/patches/december_2012/stock_entry_cleanup.py index 97101407b5..728e80ae41 100644 --- a/patches/december_2012/stock_entry_cleanup.py +++ b/patches/december_2012/stock_entry_cleanup.py @@ -1,6 +1,7 @@ import webnotes def execute(): # removed following fields + webnotes.reload_doc("stock", "doctype", "stock_entry") custom_fields() deprecate_process() webnotes.delete_doc("doctype", "sandbox")