mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
[patch] [minor] unsubmit serial nos if submitted
This commit is contained in:
7
patches/september_2013/p04_unsubmit_serial_nos.py
Normal file
7
patches/september_2013/p04_unsubmit_serial_nos.py
Normal file
@@ -0,0 +1,7 @@
|
||||
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
|
||||
# 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""")
|
||||
Reference in New Issue
Block a user