add reload doc to patch
This commit is contained in:
parent
dc2630b7fa
commit
0a726e2335
@ -4,5 +4,6 @@
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
frappe.reload_doc("manufacturing", "doctype", "bom")
|
||||
company = frappe.db.get_value("Global Defaults", None, "default_company")
|
||||
frappe.db.sql("""update `tabBOM` set company = %s""",company)
|
||||
|
Loading…
Reference in New Issue
Block a user