# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt

import frappe

def execute():
	if not frappe.db.exists('Activity Type','Manufacturing'):
		frappe.get_doc({
			"doctype": "Activity Type",
			"activity_type": "Manufacturing"
		}).insert()

# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt

import frappe

def execute():
	if not frappe.db.exists('Activity Type','Manufacturing') and frappe.get_all("Company"):
		frappe.get_doc({
			"doctype": "Activity Type",
			"activity_type": "Manufacturing"
		}).insert()

create manufacturing activity type via patch only if setup completed