2014-12-12 06:03:50 +00:00
|
|
|
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
|
|
|
# License: GNU General Public License v3. See license.txt
|
|
|
|
|
|
|
|
import frappe
|
|
|
|
|
|
|
|
def execute():
|
2014-12-12 09:18:30 +00:00
|
|
|
company = frappe.db.get_value("Global Defaults", None, "default_company")
|
|
|
|
frappe.db.sql("""update `tabBOM` set company = %s""",company)
|