Merge pull request #4970 from nabinhait/fix77
[fix] delete company transactions
diff --git a/erpnext/docs/contents.md b/erpnext/docs/contents.md
deleted file mode 100644
index 59d0b44..0000000
--- a/erpnext/docs/contents.md
+++ /dev/null
@@ -1,10 +0,0 @@
-<!-- title: Table of Contents -->
-
-<h1>Table of Contents</h1>
-<br>
-
-{% include "templates/includes/full_index.html" %}
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- no-breadcrumbs -->
diff --git a/erpnext/patches/v6_20x/remove_fiscal_year_from_holiday_list.py b/erpnext/patches/v6_20x/remove_fiscal_year_from_holiday_list.py
index c8c6203..d440c68 100644
--- a/erpnext/patches/v6_20x/remove_fiscal_year_from_holiday_list.py
+++ b/erpnext/patches/v6_20x/remove_fiscal_year_from_holiday_list.py
@@ -2,6 +2,8 @@
import frappe
def execute():
+ frappe.reload_doctype("Holiday List")
+
default_holiday_list = frappe.db.get_value("Holiday List", {"is_default": 1})
if default_holiday_list:
for company in frappe.get_all("Company", fields=["name", "default_holiday_list"]):