Error fixed in auto indent patches

This commit is contained in:
Nabin Hait 2011-12-22 12:56:57 +05:30
parent 20c87531cb
commit 6998261a7e

View File

@ -3,6 +3,6 @@ def execute():
from webnotes.modules.module_manager import reload_doc
reload_doc('setup', 'doctype', 'manage_account')
reload_doc('stock', 'doctype', 'item')
webnotes.conn.sql("delete from `tabDocField` where fieldname=`minimum_inventory_level` and parent='item'")
webnotes.conn.sql("delete from `tabDocField` where fieldname='minimum_inventory_level' and parent='item'")
webnotes.conn.sql("update `tabItem` set re_order_level = minimum_inventory_level wehre ifnull(re_order_level,0) = 0 ")