commit | 4b36c1e8f405bdb58ec6ddeeb911602a9151fecb | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Tue Feb 21 13:43:59 2012 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Tue Feb 21 13:43:59 2012 +0530 |
tree | d58f596f1035eee6aa09391fa95eb25fe62a3d3a | |
parent | 8e9b578c0032432315619134c9208930e3231740 [diff] |
insert after fld should be no copy in custom fld
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 0000000..5e97ae3 --- /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'")