8 lines
360 B
Python
8 lines
360 B
Python
def execute():
|
|
import webnotes
|
|
from webnotes.modules.module_manager import reload_doc
|
|
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 = ifnull(re_order_level,min_order_qty) ")
|
|
|