erpnext icon indicating copy to clipboard operation
erpnext copied to clipboard

Auto Email Report v13.2.0: Cannot submit Report Filters due to "Missing Values Required: Start Date, End Date"

Open ceefour opened this issue 4 years ago • 2 comments

Description of the issue

Auto Email Report v13.2.0: Cannot submit Report Filters due to "Missing Values Required: Start Date, End Date"

Context information (for bug reports)

Output of bench version

erpnext 13.2.0
frappe 13.2.0
lovia 0.0.1

Steps to reproduce the issue

  1. Create New Auto Email Report
  2. Report: "Cash Flow" or "Profit and Loss Statement" or "Balance Sheet" Note: Some reports do have Start Date and End Date filter fields shown properly, but these three reports do not show them.
  3. Click on "Report Filters"
  4. Fill Company, Filter Based On: Fiscal Year, Start Year, End Year, Periodicity: Yearly. Notice that "Start Date" and "End Date" is not shown at all.

Observed result

Missing Values Required Following fields have missing values:

  • Start Date
  • End Date

image

Expected result

If Start Date and End Date is not needed or dynamic, then there should be no error.

If it is needed, then should be shown in "Report Filters" form.

Stacktrace / full error message

This is likely due to Filter Based On, that can be selected Fiscal Year (default = problematic) and Date Range. However, when selecting Date Range, it doesn't show the Start Date / End Date fields, which probably causes this problem.

Additional information

OS version / distribution, ERPNext install method, etc.

  • Ubuntu 20.04

ceefour avatar May 01 '21 17:05 ceefour

Hey @ceefour I experience the same issue, have you found a solution or workaround?

corvis avatar Oct 15 '21 22:10 corvis

@corvis I don't have a workaround. I still am unable to use this feature.

ceefour avatar Oct 16 '21 02:10 ceefour

@ceefour This issue should be resolved, please reopen if the issue still persists

deepeshgarg007 avatar Mar 14 '23 17:03 deepeshgarg007