| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Sales (sale_management) • Discuss (mail) |
| Lines of code | 556 |
| Technical Name |
custom_sale_templates |
| License | LGPL-3 |
| Website | https://github.com/SpringlesMcOutrage |
Custom Sale Templates
Generate pixel-perfect PDF documents for quotations, sale orders, and invoices using fully customizable QWeb and Py3o templates — managed directly inside Odoo.
Unlimited Templates
Create as many QWeb or Py3o templates as your business needs — no artificial limits.
Live QWeb Editor
Edit QWeb template code directly inside Odoo. Templates are registered as report actions automatically on save.
ODT File Upload
Upload .odt (LibreOffice Writer) files for advanced print layouts. Py3o handles the rendering.
Per-Document Selection
Choose a specific template on each individual sale order or invoice — not just a single global template.
Quotations & Invoices
Supports all document types: Quotation, Confirmed Sale Order, and Customer Invoice (account.move).
Multilingual
Ships with translations for English, Ukrainian, German, and Spanish out of the box.
QWeb
- Standard Odoo HTML-to-PDF
- Edit templates in your browser
- Full access to Odoo QWeb expressions
- Rendered by wkhtmltopdf
- No extra server software needed
Py3o (ODT)
- LibreOffice-based PDF rendering
- Upload .odt files from Writer
- Pixel-perfect print layouts
- Advanced typography & tables
- Great for regulated documents
| Document Type | QWeb | Py3o (ODT) |
|---|---|---|
| Quotation (draft / sent) | ✓ | ✓ |
| Sale Order (confirmed / done) | ✓ | ✓ |
| Customer Invoice (account.move) | ✓ | ✓ |
Install the module
Go to Settings → Apps, search for Custom Sale Templates and click Install.
Create a template
Navigate to Sales → Configuration → Custom Templates, click New, select the model and engine type.
Write your QWeb code or upload an ODT file
For QWeb — edit inline. For Py3o — upload your .odt file. Save to register the report automatically.
Select the template on a document
Open any sale order or invoice, pick your template in the Custom Template field, and hit Print.
Please log in to comment on this module