From 50a0cadb9f32d621a0e479aff443527fbefc66e4 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 2 May 2012 10:32:28 +0530 Subject: [PATCH] cleanup property setter patch --- erpnext/patches/may_2012/__init__.py | 0 erpnext/patches/may_2012/cleanup_property_setter.py | 3 +++ 2 files changed, 3 insertions(+) create mode 100644 erpnext/patches/may_2012/__init__.py create mode 100644 erpnext/patches/may_2012/cleanup_property_setter.py diff --git a/erpnext/patches/may_2012/__init__.py b/erpnext/patches/may_2012/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/erpnext/patches/may_2012/cleanup_property_setter.py b/erpnext/patches/may_2012/cleanup_property_setter.py new file mode 100644 index 0000000000..2aa3509540 --- /dev/null +++ b/erpnext/patches/may_2012/cleanup_property_setter.py @@ -0,0 +1,3 @@ +def execute(): + import webnotes + webnotes.conn.sql("delete from `tabProperty Setter` where property in ('width', 'previous_field')")