From 28f8664b9382ab9405c13f8da91993647db752c4 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Fri, 4 Sep 2015 16:41:22 +0530 Subject: [PATCH] [fix] [patch] reload item attribute + value --- erpnext/patches/v5_7/item_template_attributes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/patches/v5_7/item_template_attributes.py b/erpnext/patches/v5_7/item_template_attributes.py index c0e68516cf..9536f1628c 100644 --- a/erpnext/patches/v5_7/item_template_attributes.py +++ b/erpnext/patches/v5_7/item_template_attributes.py @@ -40,8 +40,8 @@ def rename_and_reload_doctypes(): 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 = {}