brotherton-erpnext/erpnext/patches/v11_1/renamed_delayed_item_report.py
2021-11-05 11:16:29 +05:30

12 lines
330 B
Python

# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
import frappe
def execute():
for report in ["Delayed Order Item Summary", "Delayed Order Summary"]:
if frappe.db.exists("Report", report):
frappe.delete_doc("Report", report)