From a45f44d805a92955708193c7589e58d9a6d24374 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 23 Apr 2012 18:26:08 +0530 Subject: [PATCH] remove def val from rv detail cost center --- erpnext/patches/april_2012/remove_default_from_rv_detail.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 erpnext/patches/april_2012/remove_default_from_rv_detail.py diff --git a/erpnext/patches/april_2012/remove_default_from_rv_detail.py b/erpnext/patches/april_2012/remove_default_from_rv_detail.py new file mode 100644 index 0000000000..cf81f6d2a7 --- /dev/null +++ b/erpnext/patches/april_2012/remove_default_from_rv_detail.py @@ -0,0 +1,3 @@ +def execute(): + import webnotes + webnotes.conn.sql("update `tabDocField` set `default` = '' where fieldname = 'cost_center' and parent = 'RV Detail' and `default` = 'Purchase - TC'")