Script Report Automatically Treated as Prepared Report (Even When Not Wanted)

Hi everyone,

I’m facing an issue with a custom Script Report in Frappe.

Even though:

  • My execute function only returns columns, data (not "Prepared Report"),
  • The “Is Prepared Report” option is unchecked in the Report DocType,
  • The report type is correctly set to “Script Report”,

Frappe still automatically treats it as a Prepared Report, which I don’t want.
I need the report to run instantly/synchronously, regardless of how many rows it returns.

Any idea what might be forcing this behavior?
Thanks in advance for any help! :pray:

@Hela_Guesmi check this Why is 'Prepared Report' Button Auto-Enabled in Frappe v15?
Script Report automatically converted to prepared report · Issue #31362 · frappe/frappe · GitHub
[Solved] How do Prepared Reports "Actually" work?!? - #6 by bkm

1 Like