Removed Purchase in transit report #1435
diff --git a/erpnext/config/buying.py b/erpnext/config/buying.py
index c8a74be..bc62519 100644
--- a/erpnext/config/buying.py
+++ b/erpnext/config/buying.py
@@ -132,12 +132,6 @@
{
"type": "report",
"is_query_report": True,
- "name": "Purchase In Transit",
- "doctype": "Purchase Order"
- },
- {
- "type": "report",
- "is_query_report": True,
"name": "Item-wise Purchase History",
"doctype": "Item"
},
diff --git a/erpnext/config/stock.py b/erpnext/config/stock.py
index 0f53288..ace83fc 100644
--- a/erpnext/config/stock.py
+++ b/erpnext/config/stock.py
@@ -214,12 +214,6 @@
{
"type": "report",
"is_query_report": True,
- "name": "Purchase In Transit",
- "doctype": "Purchase Order"
- },
- {
- "type": "report",
- "is_query_report": True,
"name": "Requested Items To Be Transferred",
"doctype": "Material Request"
},
diff --git a/erpnext/patches.txt b/erpnext/patches.txt
index e5e9e0a..b5e66d4 100644
--- a/erpnext/patches.txt
+++ b/erpnext/patches.txt
@@ -44,3 +44,4 @@
execute:frappe.delete_doc("Print Format", "SalesInvoice")
execute:import frappe.defaults;frappe.defaults.clear_default("price_list_currency")
erpnext.patches.v4_0.update_account_root_type
+execute:frappe.delete_doc("Report", "Purchase In Transit")
diff --git a/erpnext/stock/report/purchase_in_transit/__init__.py b/erpnext/stock/report/purchase_in_transit/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/erpnext/stock/report/purchase_in_transit/__init__.py
+++ /dev/null
diff --git a/erpnext/stock/report/purchase_in_transit/purchase_in_transit.json b/erpnext/stock/report/purchase_in_transit/purchase_in_transit.json
deleted file mode 100644
index 7ef63d4..0000000
--- a/erpnext/stock/report/purchase_in_transit/purchase_in_transit.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "apply_user_permissions": 1,
- "creation": "2013-05-06 12:09:05",
- "docstatus": 0,
- "doctype": "Report",
- "idx": 1,
- "is_standard": "Yes",
- "modified": "2014-06-03 07:18:17.234173",
- "modified_by": "Administrator",
- "module": "Stock",
- "name": "Purchase In Transit",
- "owner": "Administrator",
- "query": "SELECT\n pi.name as \"Purchase Invoice:Link/Purchase Invoice:120\",\n\tpi.posting_date as \"Posting Date:Date:100\",\n\tpi.credit_to as \"Supplier Account:Link/Account:120\",\n\tpi_item.item_code as \"Item Code:Link/Item:120\",\n\tpi_item.description as \"Description:Data:140\",\n\tpi_item.qty as \"Qty:Float:120\",\n\tpi_item.base_amount as \"Amount:Currency:120\",\n\tpi_item.purchase_order as \"Purchase Order:Link/Purchase Order:120\",\n\tpi_item.purchase_receipt as \"Purchase Receipt:Link/Purchase Receipt:120\",\n\tpr.posting_date as \"PR Posting Date:Date:130\",\n\tpi.company as \"Company:Link/Company:120\"\nFROM\n\t`tabPurchase Invoice` pi, `tabPurchase Invoice Item` pi_item, `tabPurchase Receipt` pr\nWHERE\n\tpi.name = pi_item.parent and pi_item.purchase_receipt = pr.name\n\tand pi.docstatus = 1 and pr.posting_date > pi.posting_date\nORDER BY\n\tpi.name desc",
- "ref_doctype": "Purchase Receipt",
- "report_name": "Purchase In Transit",
- "report_type": "Query Report"
-}
\ No newline at end of file