From 2690e72c14ebf9541aa7114ca2f1455defcfaca7 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 21 Nov 2011 17:27:36 +0530 Subject: [PATCH] updated reco patch --- erpnext/patches/reload_reco.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erpnext/patches/reload_reco.py b/erpnext/patches/reload_reco.py index 77926363f3..6b9ecc4c35 100644 --- a/erpnext/patches/reload_reco.py +++ b/erpnext/patches/reload_reco.py @@ -1,5 +1,6 @@ def execute(): import webnotes from webnotes.modules.module_manager import reload_doc - + reload_doc('stock', 'doctype', 'stock_reconciliation') + webnotes.conn.sql("delete from `tabDocField` where (label in ('Validate Data', 'Attachment HTML', 'Attachment') or fieldname in ('next_step', 'company', 'fiscal_year', 'amendment_date')) and parent = 'Stock Reconciliation'")