From 54b0e7d8f7c46438f785217fc4a1446846bf6fd6 Mon Sep 17 00:00:00 2001 From: nabinhait Date: Wed, 13 Jul 2011 16:40:03 +0530 Subject: [PATCH] test_field will be deleted from customer --- patches/patch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/patches/patch.py b/patches/patch.py index 9783de5a3e..6b3f0af436 100644 --- a/patches/patch.py +++ b/patches/patch.py @@ -1,7 +1,7 @@ # REMEMBER to update this # ======================== -last_patch = 323 +last_patch = 324 #------------------------------------------- @@ -1289,3 +1289,5 @@ def execute(patch_no): reload_doc('stock', 'doctype', 'stock_entry') sql("update `tabDocField` set options = 'get_stock_and_rate' where parent = 'Stock Entry' and label = 'Get Stock and Rate'") sql("delete from `tabDocField` where label = 'Get Current Stock' and parent = 'Stock Entry'") + elif patch_no == 324: + sql("delete from `tabDocField` where fieldname = 'test_field' and parent = 'Customer'")