From 06c8aec7d967e798f9f8cd4248758fff162aac7f Mon Sep 17 00:00:00 2001 From: Charles-Henri Decultot Date: Mon, 15 Oct 2018 11:23:25 +0200 Subject: [PATCH] Event patch correction (#6238) --- frappe/patches/v11_0/multiple_references_in_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/patches/v11_0/multiple_references_in_events.py b/frappe/patches/v11_0/multiple_references_in_events.py index 52761e2f32..86dd36f660 100644 --- a/frappe/patches/v11_0/multiple_references_in_events.py +++ b/frappe/patches/v11_0/multiple_references_in_events.py @@ -10,7 +10,7 @@ def execute(): if event.ref_type and event.ref_name: try: e = frappe.get_doc('Event', event.name) - e.append('participants', {"reference_doctype": event.ref_type, "reference_docname": event.ref_name}) + e.append('event_participants', {"reference_doctype": event.ref_type, "reference_docname": event.ref_name}) e.flags.ignore_mandatory = True e.flags.ignore_permissions = True e.save()