brotherton-erpnext/erpnext/patches/september_2013/p04_unsubmit_serial_nos.py
2013-12-11 10:43:52 +05:30

7 lines
283 B
Python

# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import webnotes
def execute():
webnotes.conn.sql("""update `tabSerial No` set docstatus=0 where docstatus=1""")