refactor: make scheduled_against mandatory
This commit is contained in:
parent
a26fa20683
commit
4ab7c103c1
2 changed files with 5 additions and 3 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue