ERPNext used to be able to print accounting reports and generate a PDF. Now, I just get a dialog returning no results for the “Report” field, looking for a print format that either doesn’t exist or is filtered out by the default filters:
I just spun up an obsolete v13 server to check, and indeed it did work on the last release of v.13 at least. When did this stop working? I can still export to excel as a workaround, but the feature loss is a bit unsettling. Hoping it’s just a bug, and not a design decision.
EDIT: Also want to add that as a sanity check, I started up a new test instance in docker of frappe/erpnext:develop with just the demo data and saw the same results as the screenshot above. So I don’t think this is something specific to my setup.
I believe those reports now work with print formats, if I’m not mistaken. I haven’t used the develop branch in a while so I’m not sure how it works specifically, but my hunch would be that’s why the print workflow has changed. The feature has been expanded, not removed.
I see. But there are no print formats available yet? IMHO, there should have been a stock print format for each one before changing the functionality. By the way, I only checked develop to see if I could print the reports on that branch (and with a clean install with only demo data) since I could not on version-15. Figured it would be good to eliminate my database as being a factor as well.
Oh sorry, I misunderstood and thought you were running into this problem on develop. I’m not sure why it’s happening on v15. I just checked my installation (slightly behind yours at 15.80) and print works fine for me. What happens if you hit submit without putting anything in the Report field?
Ah, thank you. For some reason I didn’t think it could have been be an optional field. If I skip the print format field, I get a full-page print preview with no print button or print dialog. I can then use the browser command (Ctrl-P, or Menu-Print) to print from there, so that’s something! It still isn’t the normal frappe print experience (and I think it’s counter-intuitive to have a quick entry field for the print format when there are no stock print formats), but at least it is printable. I guess the changes are still “under construction”, even in the develop branch.