Merge branch 'master' of github.com:nijil/erpnext

This commit is contained in:
Nijil Y 2011-12-21 13:24:02 +05:30
commit 9b6fc0f83d

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')
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=''")
reload_doc('setup', 'doctype', 'manage_account')
reload_doc('stock', 'doctype', 'item')
webnotes.conn.sql("alter table `tabItem` drop column `minimum_inventory_level`")
webnotes.conn.sql("update `tabItem` set re_order_level = minimum_inventory_level wehre ifnull(re_order_level,0) = 0 ")