[fix] [patch] reload item attribute + value
diff --git a/erpnext/patches/v5_7/item_template_attributes.py b/erpnext/patches/v5_7/item_template_attributes.py
index c0e6851..9536f16 100644
--- a/erpnext/patches/v5_7/item_template_attributes.py
+++ b/erpnext/patches/v5_7/item_template_attributes.py
@@ -40,8 +40,8 @@
frappe.reload_doctype("Item")
frappe.reload_doc("Stock", "DocType", "Item Variant Attribute")
- frappe.reload_doctype("Item Attribute Value")
- frappe.reload_doctype("Item Attribute")
+ frappe.reload_doc("Stock", "DocType", "Item Attribute Value")
+ frappe.reload_doc("Stock", "DocType", "Item Attribute")
def migrate_manage_variants():
item_attribute = {}