mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 07:02:54 +00:00
Merge branch '1310' of github.com:webnotes/erpnext
This commit is contained in:
@@ -20,4 +20,4 @@ def execute():
|
||||
os.system("rm -rf {path}".format(path=path))
|
||||
|
||||
if webnotes.conn.exists("DocType", "For Territory"):
|
||||
webnotes.delete_doc("DocType", "For Territory")
|
||||
webnotes.delete_doc("DocType", "For Territory")
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import webnotes, os
|
||||
|
||||
def execute():
|
||||
from webnotes.utils import get_base_path
|
||||
|
||||
for dt in ("item_price", "price_list"):
|
||||
path = os.path.join(get_base_path(), "app", "setup", "doctype", dt)
|
||||
if os.path.exists(path):
|
||||
os.system("rm -rf {path}".format(path=path))
|
||||
Reference in New Issue
Block a user