Initialize fork and rebrand app to event_manager
CI / Server (push) Has been cancelled
Linters / Frappe Linter (push) Has been cancelled
Linters / Vulnerable Dependency Check (push) Has been cancelled
UI Tests / Playwright E2E Tests (push) Has been cancelled

This commit is contained in:
2026-05-11 09:56:57 +02:00
parent f82bb803ac
commit 786cbc724f
500 changed files with 41152 additions and 2 deletions
@@ -0,0 +1,20 @@
import frappe
def execute():
events = frappe.get_all(
"Pohodex Event Manager Event", filters={"payment_gateway": ("is", "set")}, fields=["name", "payment_gateway"]
)
frappe.reload_doc("Events", "doctype", "buzz_event")
frappe.reload_doc("Events", "doctype", "event_payment_gateway")
for event in events:
doc = frappe.get_cached_doc("Pohodex Event Manager Event", event.name)
doc.append(
"payment_gateways",
{
"payment_gateway": event.payment_gateway,
},
)
doc.save()