[patch] [minor] unsubmit serial nos if submitted
This commit is contained in:
parent
a7687e9ab6
commit
c6871dc194
@ -217,4 +217,5 @@ patch_list = [
|
||||
"patches.september_2013.p03_move_website_to_framework",
|
||||
"execute:webnotes.bean('Style Settings').save() #2013-09-19",
|
||||
"execute:webnotes.conn.set_value('Accounts Settings', None, 'frozen_accounts_modifier', 'Accounts Manager') # 2013-09-24",
|
||||
"patches.september_2013.p04_unsubmit_serial_nos",
|
||||
]
|
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""")
|
Loading…
x
Reference in New Issue
Block a user