brotherton-erpnext/erpnext/patches/v6_24/rename_item_field.py

10 lines
345 B
Python
Raw Normal View History

2016-03-04 12:30:46 +05:30
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
from frappe.model.utils.rename_field import rename_field
def execute():
frappe.reload_doctype("Item")
rename_field("Item", "is_asset_item", "is_fixed_asset")