Merge pull request #29133 from ruthra-kumar/mandatory_scheduler_event

refactor: make scheduled_against mandatory
This commit is contained in:
Akhil Narang 2025-01-14 11:11:46 +05:30 committed by GitHub
commit 1b52de9b97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View file

@ -12,8 +12,10 @@
{
"fieldname": "scheduled_against",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Scheduled Against",
"options": "DocType"
"options": "DocType",
"reqd": 1
},
{
"fieldname": "method",
@ -24,7 +26,7 @@
"in_create": 1,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-01-13 10:36:52.332434",
"modified": "2025-01-14 10:49:21.304114",
"modified_by": "Administrator",
"module": "Core",
"name": "Scheduler Event",

View file

@ -15,7 +15,7 @@ class SchedulerEvent(Document):
from frappe.types import DF
method: DF.Data | None
scheduled_against: DF.Link | None
scheduled_against: DF.Link
# end: auto-generated types
pass