fix: Rename 'Stock Item' to 'Asset Repair Consumed Item'
diff --git a/erpnext/assets/doctype/asset_maintenance/asset_maintenance.json b/erpnext/assets/doctype/asset_maintenance/asset_maintenance.json
index da2fd75..63a5538 100644
--- a/erpnext/assets/doctype/asset_maintenance/asset_maintenance.json
+++ b/erpnext/assets/doctype/asset_maintenance/asset_maintenance.json
@@ -126,11 +126,11 @@
"fieldname": "stock_items",
"fieldtype": "Table",
"label": "Stock Items",
- "options": "Stock Item"
+ "options": "Asset Repair Consumed Item"
}
],
"links": [],
- "modified": "2021-05-13 05:24:58.480132",
+ "modified": "2021-06-21 14:53:46.041123",
"modified_by": "Administrator",
"module": "Assets",
"name": "Asset Maintenance",
diff --git a/erpnext/assets/doctype/asset_repair/asset_repair.json b/erpnext/assets/doctype/asset_repair/asset_repair.json
index c25216c..6a14384 100644
--- a/erpnext/assets/doctype/asset_repair/asset_repair.json
+++ b/erpnext/assets/doctype/asset_repair/asset_repair.json
@@ -169,7 +169,7 @@
"fieldtype": "Table",
"label": "Stock Items",
"mandatory_depends_on": "stock_consumption",
- "options": "Stock Item"
+ "options": "Asset Repair Consumed Item"
},
{
"fieldname": "section_break_23",
@@ -264,7 +264,7 @@
"index_web_pages_for_search": 1,
"is_submittable": 1,
"links": [],
- "modified": "2021-06-20 17:35:51.075537",
+ "modified": "2021-06-21 14:53:46.665576",
"modified_by": "Administrator",
"module": "Assets",
"name": "Asset Repair",
diff --git a/erpnext/assets/doctype/stock_item/__init__.py b/erpnext/assets/doctype/asset_repair_consumed_item/__init__.py
similarity index 100%
rename from erpnext/assets/doctype/stock_item/__init__.py
rename to erpnext/assets/doctype/asset_repair_consumed_item/__init__.py
diff --git a/erpnext/assets/doctype/stock_item/stock_item.json b/erpnext/assets/doctype/asset_repair_consumed_item/asset_repair_consumed_item.json
similarity index 95%
rename from erpnext/assets/doctype/stock_item/stock_item.json
rename to erpnext/assets/doctype/asset_repair_consumed_item/asset_repair_consumed_item.json
index b1f05db..528f0ec 100644
--- a/erpnext/assets/doctype/stock_item/stock_item.json
+++ b/erpnext/assets/doctype/asset_repair_consumed_item/asset_repair_consumed_item.json
@@ -46,7 +46,7 @@
"modified": "2021-05-12 03:19:55.006300",
"modified_by": "Administrator",
"module": "Assets",
- "name": "Stock Item",
+ "name": "Asset Repair Consumed Item",
"owner": "Administrator",
"permissions": [],
"sort_field": "modified",
diff --git a/erpnext/assets/doctype/stock_item/stock_item.py b/erpnext/assets/doctype/asset_repair_consumed_item/asset_repair_consumed_item.py
similarity index 81%
rename from erpnext/assets/doctype/stock_item/stock_item.py
rename to erpnext/assets/doctype/asset_repair_consumed_item/asset_repair_consumed_item.py
index 0e3cc3f..fa22a57 100644
--- a/erpnext/assets/doctype/stock_item/stock_item.py
+++ b/erpnext/assets/doctype/asset_repair_consumed_item/asset_repair_consumed_item.py
@@ -4,5 +4,5 @@
# import frappe
from frappe.model.document import Document
-class StockItem(Document):
+class AssetRepairConsumedItem(Document):
pass