13ddc7e188
* remove occurrences of Production Order * rename from report and jsons * Change Production Order to Work Order * change occurences of production order from other files * resolve minor conflict issues and reports * patch added * codacy fix * updated patches, leftover changes * rename reports, rectify patches
17 lines
577 B
Python
17 lines
577 B
Python
# 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():
|
|
|
|
doc_list = ["Work Order", "BOM", "Purchase Invoice Item", "Sales Invoice",
|
|
"Purchase Order Item", "Stock Entry", "Delivery Note", "Sales Order",
|
|
"Purchase Receipt Item", "Supplier Quotation Item"]
|
|
|
|
for doctype in doc_list:
|
|
frappe.reload_doctype(doctype)
|
|
rename_field(doctype, "project_name", "project")
|
|
|