From cb841bde6d05fa8befd87fd278ef6a51c00ef409 Mon Sep 17 00:00:00 2001 From: Govind Jangid <63184660+Govind-Jangid@users.noreply.github.com> Date: Mon, 29 Jan 2024 14:47:42 +0530 Subject: [PATCH] fix: depends on --- .../email/doctype/auto_email_report/auto_email_report.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frappe/email/doctype/auto_email_report/auto_email_report.json b/frappe/email/doctype/auto_email_report/auto_email_report.json index 714c5e50e0..f208626500 100644 --- a/frappe/email/doctype/auto_email_report/auto_email_report.json +++ b/frappe/email/doctype/auto_email_report/auto_email_report.json @@ -211,9 +211,10 @@ }, { "default": "0", -To begin the date range at the start of the chosen period. For example, if 'Year' is selected as the period, the report will start from January 1st of the current year. + "description": "To begin the date range at the start of the chosen period. For example, if 'Year' is selected as the period, the report will start from January 1st of the current year.", "fieldname": "use_first_day_of_period", "fieldtype": "Check", + "depends_on": "eval: doc.dynamic_date_period != 'Daily'", "label": "Use First Day of Period" } ], @@ -253,4 +254,4 @@ To begin the date range at the start of the chosen period. For example, if 'Year "sort_order": "DESC", "states": [], "track_changes": 1 -} \ No newline at end of file +}