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
+12
View File
@@ -0,0 +1,12 @@
import frappe
from frappe.utils import today
def unpublish_ticket_types_after_last_date():
frappe.db.set_value(
"Event Ticket Type",
{"is_published": True, "auto_unpublish_after": ("<", today())},
"is_published",
False,
)
frappe.db.commit()