Update erpnext/patches/auto_indent.py

This commit is contained in:
Nijil Y 2011-12-21 11:50:20 +05:30
parent 04da8741c3
commit 35aa35bea3

View File

@ -1,8 +1,8 @@
def execute():
import webnotes
from webnotes.modules.module_manager import reload_doc
reload_doc('manage_account', 'doctype', 'auto_indent')
reload_doc('item', 'doctype', 'email_notify')
reload_doc('setup', 'doctype', 'manage_account')
reload_doc('stock', 'doctype', 'item')
webnotes.conn.sql("alter table `tabSandbox` drop column `minimum_inventory_level`")
webnotes.conn.sql("update `tabItem` set re_order_level = min_order_qty where re_order_level=''")
webnotes.conn.sql("update `tabItem` set re_order_level = ifnull(re_order_level,min_order_qty) ")