Bug Report: Script Report UI does not hide Filters & Columns when “Is Standard = Yes”

Description

When creating or editing a Script Report, selecting “Is Standard = Yes” correctly hides the Query / Script field (as expected), but the Filters and Columns sections are still visible in the Report DocType form.

However, when a report is marked as Standard, Frappe ignores any Filters or Columns defined inside the DocType form — because standard reports must use the script’s return values (columns, data).
So showing the Filter and Column fields in the UI is inconsistent and misleading.

Expected Behavior

  • When Is Standard = Yes:
  • Hide Query / Script field (already working)
  • Also hide Filters section
  • Also hide Columns section
  • Because Standard Script Reports must define filters and columns directly in Python, not in the DocType form.

Actual Behavior

  • When Is Standard = Yes:

  • Query / Script field is hidden (already working)

  • Filters are still visible

  • Columns are still visible

  • Any Filters or Columns configured here do not work, causing confusion for the developer.

Why this is a Problem

  • Developers think Filters or Columns added in the Report DocType will work.
  • But Standard Reports ignore them, which leads to:
  • Misleading UI
  • Confusion
  • Incorrect report output
  • Wasted debugging time