From f2f4c87bb6f04dcb879b72ddf68d6643be6a55a0 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 22 Dec 2011 15:19:16 +0530 Subject: [PATCH] remove previous field property setter --- erpnext/patches/remove_previous_field_property_setter.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 erpnext/patches/remove_previous_field_property_setter.py diff --git a/erpnext/patches/remove_previous_field_property_setter.py b/erpnext/patches/remove_previous_field_property_setter.py new file mode 100644 index 0000000000..677188e624 --- /dev/null +++ b/erpnext/patches/remove_previous_field_property_setter.py @@ -0,0 +1,6 @@ +import webnotes +def execute(): + webnotes.conn.sql("""\ + DELETE FROM `tabProperty Setter` + WHERE property='previous_field' + """)