[patch] remove sales and purchase return tool

This commit is contained in:
Nabin Hait 2013-10-22 10:54:59 +05:30
parent 953d0a955f
commit 6a589be1c5
3 changed files with 13 additions and 2 deletions

View File

@ -4,5 +4,7 @@
import webnotes import webnotes
def execute(): def execute():
webnotes.delete_doc("DocType", "Sales and Purchase Return Item") if webnotes.conn.exists("DocType", "Sales and Purchase Return Item"):
webnotes.delete_doc("DocType", "Sales and Purchase Return Tool") webnotes.delete_doc("DocType", "Sales and Purchase Return Item")
if webnotes.conn.exists("DocType", "Sales and Purchase Return Tool"):
webnotes.delete_doc("DocType", "Sales and Purchase Return Tool")

View File

@ -0,0 +1,8 @@
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
def execute():
from patches.march_2013 import p06_remove_sales_purchase_return_tool
p06_remove_sales_purchase_return_tool.execute()

View File

@ -224,4 +224,5 @@ patch_list = [
"patches.october_2013.repost_planned_qty", "patches.october_2013.repost_planned_qty",
"patches.october_2013.p02_update_price_list_and_item_details_in_item_price", "patches.october_2013.p02_update_price_list_and_item_details_in_item_price",
"execute:webnotes.delete_doc('Report', 'Item-wise Price List')", "execute:webnotes.delete_doc('Report', 'Item-wise Price List')",
"patches.october_2013.p03_remove_sales_and_purchase_return_tool",
] ]