[patch] Update stopped status to close
This commit is contained in:
parent
7f8a5fe6d2
commit
737849a0f5
@ -249,3 +249,4 @@ erpnext.patches.v6_20.set_party_account_currency_in_orders
|
||||
#erpnext.patches.v6_19.comment_feed_communication
|
||||
erpnext.patches.v6_21.fix_reorder_level
|
||||
erpnext.patches.v6_21.rename_material_request_fields
|
||||
erpnext.patches.v6_23.update_stopped_status_to_closed
|
0
erpnext/patches/v6_23/__init__.py
Normal file
0
erpnext/patches/v6_23/__init__.py
Normal file
9
erpnext/patches/v6_23/update_stopped_status_to_closed.py
Normal file
9
erpnext/patches/v6_23/update_stopped_status_to_closed.py
Normal file
@ -0,0 +1,9 @@
|
||||
# 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 frappe
|
||||
|
||||
def execute():
|
||||
for dt in ("Sales Order", "Purchase Order"):
|
||||
frappe.db.sql("update `tab{0}` set status='Closed' where status='Stopped'".format(dt))
|
Loading…
Reference in New Issue
Block a user