blob: 6b9ecc4c35a9eb51f0503f03069ff716f723694b [file] [log] [blame]
Nabin Hait38477a32011-11-21 17:16:48 +05301def execute():
2 import webnotes
3 from webnotes.modules.module_manager import reload_doc
Nabin Hait2690e722011-11-21 17:27:36 +05304
Nabin Hait38477a32011-11-21 17:16:48 +05305 reload_doc('stock', 'doctype', 'stock_reconciliation')
Nabin Hait2690e722011-11-21 17:27:36 +05306 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'")