Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alyf-de/erpnext_pdf-on-submit
Creates a PDF when a document is submitted.
https://github.com/alyf-de/erpnext_pdf-on-submit
erpnext pdf
Last synced: 2 months ago
JSON representation
Creates a PDF when a document is submitted.
- Host: GitHub
- URL: https://github.com/alyf-de/erpnext_pdf-on-submit
- Owner: alyf-de
- License: gpl-3.0
- Created: 2019-06-01T02:05:22.000Z (over 5 years ago)
- Default Branch: version-15
- Last Pushed: 2024-07-20T22:29:53.000Z (4 months ago)
- Last Synced: 2024-07-21T22:45:51.812Z (4 months ago)
- Topics: erpnext, pdf
- Language: Python
- Homepage: https://alyf.de
- Size: 1.13 MB
- Stars: 69
- Watchers: 5
- Forks: 74
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
- awesome-frappe - PDF on Submit - Automatically generate and attach a PDF when a sales document gets submitted. (Uncategorized / Uncategorized)
README
# PDF on Submit
Automatically generates and attaches a PDF when a sales document gets submitted. Works for **Quotation**, **Sales Order**, **Sales Invoice**, **Delivery Note** and **Dunning**.
![Screencast of PDF generation](docs/screencast.gif)
## Install on Frappe Cloud
1. Go to https://frappecloud.com/dashboard/#/sites and click the "New Site" button.
2. In Step 2 ("Select apps to install"), select "PDF on Submit".
3. Complete the new site wizard.## Install on Self-Hosted
```bash
cd frappe-bench
bench get-app https://github.com/alyf-de/pdf_on_submit.git
bench --site MY_SITE install-app pdf_on_submit
```> Remeber to replace `MY_SITE` with your site name.
## Settings
To change the settings of this app, you can open **PDF on Submit Settings** via the search bar.
- Choose active DocTypes
Here you can select for which DocTypes this app is active. DocTypes that are disabled will be ignored.
- Create PDF in Background
Enable this option 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.) Recommended if you usually submit many sales documents in bulk.
Disable this option to get the PDF immediately. When you submit the document you will see a progress bar while the PDF gets created. When it's done you immediately see the PDF attached to the document.![PDF on Submit Settings](docs/settings.png)
This app uses the Default Print Format. To change the Default Print Format,
1. Open the list view of a supported DocType,
2. Go to Menu > Customize,
3. In section "View Settings", select a Default Print Format.The 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 the default "Print Language".
## Add translations
To add translations for a new language, please copy `pdf_on_submit/locale/main.pot` to `pdf_on_submit/locale/.po` and fill in the translations (`msgstr`) for each `msgid`. When you're done, you can commit your changes and send a PR.
## Licence
Copyright (C) 2020 ALYF GmbH
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program. If not, see .