commit | 8b33358660fac5ee66c2b56e966faca1f6ba0522 | [log] [tgz] |
---|---|---|
author | Ankush Menat <ankush@frappe.io> | Thu Nov 25 17:24:59 2021 +0530 |
committer | Ankush Menat <ankushmenat@gmail.com> | Thu Nov 25 17:41:29 2021 +0530 |
tree | 8c9c198f88b3b6f21691a8c5f07b42bd0c6c5b3d | |
parent | 0a2964dc826d6f027a20f8d16ab62a1a59238853 [diff] |
fix: patch failure due to new doctype
diff --git a/erpnext/patches/v12_0/move_target_distribution_from_parent_to_child.py b/erpnext/patches/v12_0/move_target_distribution_from_parent_to_child.py index 1e230a7..36fe18d 100644 --- a/erpnext/patches/v12_0/move_target_distribution_from_parent_to_child.py +++ b/erpnext/patches/v12_0/move_target_distribution_from_parent_to_child.py
@@ -7,6 +7,7 @@ def execute(): frappe.reload_doc("setup", "doctype", "target_detail") + frappe.reload_doc("core", "doctype", "prepared_report") for d in ['Sales Person', 'Sales Partner', 'Territory']: frappe.db.sql("""