From d84ad942d1917e203c173a840cc00df830413216 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 13 Oct 2011 14:04:26 +0530 Subject: [PATCH] Removed repost patch --- erpnext/patches/patch.py | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/erpnext/patches/patch.py b/erpnext/patches/patch.py index b57d9846a09..5dd8b8d443d 100644 --- a/erpnext/patches/patch.py +++ b/erpnext/patches/patch.py @@ -462,16 +462,4 @@ def execute(patch_no): elif patch_no == 387: sql("update `tabDocField` set allow_on_submit = 1 where fieldname in ('indent_details', 'po_details', 'purchase_receipt_details', 'entries', 'sales_order_details', 'delivery_note_details', 'quotation_details') and fieldtype = 'Table'") elif patch_no == 388: - comp = sql("select name from tabCompany where docstatus!=2") - fy = sql("select name from `tabFiscal Year` order by year_start_date asc") - for c in comp: - prev_fy = '' - for f in fy: - fy_obj = get_obj('Fiscal Year', f[0]) - fy_obj.doc.past_year = prev_fy - fy_obj.doc.company = c[0] - fy_obj.doc.save() - fy_obj.repost() - prev_fy = f[0] - sql("commit") - sql("start transaction") + pass