brotherton-erpnext/erpnext/patches/april_2012/serial_no_fixes.py

8 lines
222 B
Python
Raw Normal View History

from __future__ import unicode_literals
def execute():
import webnotes
2012-04-27 11:42:47 +00:00
from webnotes.modules import reload_doc
reload_doc('stock', 'doctype', 'serial_no')
webnotes.conn.sql("update `tabSerial No` set sle_exists = 1")