From 4b36c1e8f405bdb58ec6ddeeb911602a9151fecb Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 21 Feb 2012 13:43:59 +0530 Subject: [PATCH] insert after fld should be no copy in custom fld --- erpnext/patches/jan_mar_2012/no_copy_patch.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 erpnext/patches/jan_mar_2012/no_copy_patch.py diff --git a/erpnext/patches/jan_mar_2012/no_copy_patch.py b/erpnext/patches/jan_mar_2012/no_copy_patch.py new file mode 100644 index 0000000000..5e97ae37e3 --- /dev/null +++ b/erpnext/patches/jan_mar_2012/no_copy_patch.py @@ -0,0 +1,3 @@ +def execute(): + import webnotes + webnotes.conn.sql("update `tabDocField` set no_copy = 1 where fieldname = 'insert_after' and parent = 'Custom Field'")