We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61e822c commit 5bd02f8Copy full SHA for 5bd02f8
1 file changed
pdf_on_submit/utils.py
@@ -12,7 +12,7 @@ def extend_boot_info(bootinfo):
12
bootinfo.pdf_on_submit = frappe._dict(
13
{
14
"show_pdf_button": show_pdf_button,
15
- "enabled_doctypes": [row.document_type for row in settings.enabled_for if row.document_type]
+ "enabled_doctypes": [row.document_type for row in settings.enabled_for]
16
if show_pdf_button
17
else [],
18
}
0 commit comments