From 737849a0f5e004b88cef3426eda63750a0b31f12 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 25 Feb 2016 15:16:02 +0530 Subject: [PATCH 1/2] [patch] Update stopped status to close --- erpnext/patches.txt | 1 + erpnext/patches/v6_23/__init__.py | 0 erpnext/patches/v6_23/update_stopped_status_to_closed.py | 9 +++++++++ 3 files changed, 10 insertions(+) create mode 100644 erpnext/patches/v6_23/__init__.py create mode 100644 erpnext/patches/v6_23/update_stopped_status_to_closed.py diff --git a/erpnext/patches.txt b/erpnext/patches.txt index 76bffc2de97..2348777661a 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -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 \ No newline at end of file diff --git a/erpnext/patches/v6_23/__init__.py b/erpnext/patches/v6_23/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/erpnext/patches/v6_23/update_stopped_status_to_closed.py b/erpnext/patches/v6_23/update_stopped_status_to_closed.py new file mode 100644 index 00000000000..79d1e0ac300 --- /dev/null +++ b/erpnext/patches/v6_23/update_stopped_status_to_closed.py @@ -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)) \ No newline at end of file From 6107ccd5eae6bb0bf82d231bf5544577a5a97e43 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 25 Feb 2016 15:48:42 +0600 Subject: [PATCH 2/2] bumped to version 6.23.2 --- erpnext/__version__.py | 2 +- erpnext/hooks.py | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/erpnext/__version__.py b/erpnext/__version__.py index ba4681f210f..7c47cfce204 100644 --- a/erpnext/__version__.py +++ b/erpnext/__version__.py @@ -1,2 +1,2 @@ from __future__ import unicode_literals -__version__ = '6.23.1' +__version__ = '6.23.2' diff --git a/erpnext/hooks.py b/erpnext/hooks.py index 203b91d1785..55e936606f6 100644 --- a/erpnext/hooks.py +++ b/erpnext/hooks.py @@ -7,7 +7,7 @@ app_publisher = "Frappe Technologies Pvt. Ltd." app_description = """ERP made simple""" app_icon = "icon-th" app_color = "#e74c3c" -app_version = "6.23.1" +app_version = "6.23.2" app_email = "info@erpnext.com" app_license = "GNU General Public License (v3)" source_link = "https://github.com/frappe/erpnext" diff --git a/setup.py b/setup.py index b519e5bf5da..82f724761d0 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages from pip.req import parse_requirements -version = "6.23.1" +version = "6.23.2" requirements = parse_requirements("requirements.txt", session="") setup(