{"id":14449313,"url":"https://github.com/alyf-de/erpnext_pdf-on-submit","last_synced_at":"2026-01-22T02:29:31.682Z","repository":{"id":38117383,"uuid":"189679653","full_name":"alyf-de/erpnext_pdf-on-submit","owner":"alyf-de","description":"Creates a PDF when a document is submitted in ERPNext","archived":false,"fork":false,"pushed_at":"2026-01-18T21:57:35.000Z","size":2522,"stargazers_count":100,"open_issues_count":10,"forks_count":105,"subscribers_count":4,"default_branch":"version-16","last_synced_at":"2026-01-19T04:03:04.012Z","etag":null,"topics":["automation","business","erpnext","frappe-framework","pdf"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alyf-de.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-06-01T02:05:22.000Z","updated_at":"2026-01-18T20:54:40.000Z","dependencies_parsed_at":"2024-07-20T22:42:17.693Z","dependency_job_id":"63df5eae-60f2-4af2-b859-d73ce685b545","html_url":"https://github.com/alyf-de/erpnext_pdf-on-submit","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/alyf-de/erpnext_pdf-on-submit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alyf-de%2Ferpnext_pdf-on-submit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alyf-de%2Ferpnext_pdf-on-submit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alyf-de%2Ferpnext_pdf-on-submit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alyf-de%2Ferpnext_pdf-on-submit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alyf-de","download_url":"https://codeload.github.com/alyf-de/erpnext_pdf-on-submit/tar.gz/refs/heads/version-16","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alyf-de%2Ferpnext_pdf-on-submit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28651604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","business","erpnext","frappe-framework","pdf"],"created_at":"2024-09-01T08:01:14.190Z","updated_at":"2026-01-22T02:29:31.677Z","avatar_url":"https://github.com/alyf-de.png","language":"Python","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# PDF on Submit\n\nAutomatically generates and attaches a PDF when a document gets submitted. Works for printable \u0026 submittable Doctypes.\n![Screencast of PDF generation](docs/screencast.gif)\n\n## Install on Frappe Cloud\n\n1. Go to https://frappecloud.com/dashboard/#/sites and click the \"New Site\" button.\n2. In Step 2 (\"Select apps to install\"), select \"PDF on Submit\".\n3. Complete the new site wizard.\n\n## Install on Self-Hosted\n\n```bash\ncd frappe-bench\nbench get-app https://github.com/alyf-de/pdf_on_submit.git\nbench --site MY_SITE install-app pdf_on_submit\n```\n\n\u003e Remeber to replace `MY_SITE` with your site name.\n\n## Settings\n\nTo change the settings of this app, you can open **PDF on Submit Settings** via the search bar.\n\nIn the _Enabled For_ table, add a row for each DocType you want to enable PDF generation for.\n\nIf you don't choose a different configuration, PDFs will be generated with the default **Print Format** and **Letter Head**. The PDF is named like the document name.\n\nAlternatively, you can choose a different **Print Format** and **Letter Head** for each DocType. You can also define a custom format for the PDF file name.\n\n![PDF on Submit Settings](docs/settings.gif)\n\n### Filters and different PDFs for the same DocType\n\nIt is possible to add multiple rows for the same DocType. In the row's _Filters_ section you can set filters based on the fields of the selected DocType. This way you can generate different PDFs based on the document's content. E.g. say you have two different print formats for the **Sales Invoice** DocType: one for normal invoices and one for credit notes. You can create two rows with different Print Formats and apply a filter on the _Is Return_ field. This way, when you submit a credit note, the PDF will be generated with the credit note's print format and when you submit a normal invoice, the PDF will be generated with the normal invoice's print format. However, the filters don't need to be exclusive. You can also generate multiple PDFs for the same document.\n\n### Background PDF generation\n\nThe option _Create PDF in Background_ should be enabled if you want to continue your work immediately. The PDFs will just appear once they are created. (This might require a reload of the current document.) This is recommended if you usually submit many documents in bulk.\n\nDisable this option to get the PDF immediately. In this case, when you submit the document you will see a progress bar while the PDF gets created. When it's done you'll immediately see the PDF attached to the document. This is recommended if you usually submit one document at a time.\n\n### Language\n\nThe PDF will be created in the language that is specified in the _Language_ field of the current document. In your **Customer** and **Supplier** masters you can choose their respective _Print Language_.\n\n## Add translations\n\nTo add translations for a new language, please copy `pdf_on_submit/locale/main.pot` to `pdf_on_submit/locale/\u003clanguage_code\u003e.po` and fill in the translations (`msgstr`) for each `msgid`. When you're done, you can commit your changes and send a PR.\n\n## Licence\n\nCopyright (C) 2025  ALYF GmbH \u003challo@alyf.de\u003e\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falyf-de%2Ferpnext_pdf-on-submit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falyf-de%2Ferpnext_pdf-on-submit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falyf-de%2Ferpnext_pdf-on-submit/lists"}