Merge pull request #28168 from rohitwaghchaure/fixed-patch-update_category_in_ltds_certificate

fix: patch update_category_in_ltds_certificate
diff --git a/erpnext/patches/v13_0/update_category_in_ltds_certificate.py b/erpnext/patches/v13_0/update_category_in_ltds_certificate.py
index 4d46452..a5f5a23 100644
--- a/erpnext/patches/v13_0/update_category_in_ltds_certificate.py
+++ b/erpnext/patches/v13_0/update_category_in_ltds_certificate.py
@@ -6,6 +6,8 @@
 	if not company:
 		return
 
+	frappe.reload_doc('regional', 'doctype', 'lower_deduction_certificate')
+
 	ldc = frappe.qb.DocType("Lower Deduction Certificate").as_("ldc")
 	supplier = frappe.qb.DocType("Supplier")