From c1886b5b13ad6c1af33a1650e257c8c5d15db85e Mon Sep 17 00:00:00 2001 From: Ravi Dey Date: Mon, 4 Jul 2011 16:53:42 +0530 Subject: [PATCH] removed reqd from property setter doc field --- patches/patch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/patches/patch.py b/patches/patch.py index 7f82d56c41..a609738af6 100644 --- a/patches/patch.py +++ b/patches/patch.py @@ -1,6 +1,6 @@ # REMEMBER to update this # ======================== -last_patch = 307 +last_patch = 308 #------------------------------------------- @@ -1216,3 +1216,5 @@ def execute(patch_no): elif patch_no == 307: sql("delete from `tabDocField` where parent = 'company' and label = 'Trash Company' and fieldtype = 'Button'") reload_doc('setup', 'doctype', 'company') + elif patch_no == 308: + sql("update `tabDocField` set reqd = 0 where fieldname = 'select_item' and parent = 'Property Setter'")