Word & Excel Report Templates: DOCX, XLSX, PDF Reports from Office Files
by Viyug Infotech https://viyuginfotech.com$ 49.31
Design your reports in Word and Excel, print them from any Odoo record
Upload a .docx or .xlsx with placeholders, add it to the Print menu and get DOCX, XLSX or PDF for one record or a whole selection. Loops, conditions, pictures, QR codes, language and currency aware, safe by design.
WordExcelPDFAny modelPrint menu
Free setup call with every purchase
After you buy, book a free 30-minute online call: we install the app with you and set it up for your company. Questions are answered within 24 hours, Monday to Saturday, at support@viyuginfotech.com or on WhatsApp (QR code at the end of this page).
Your paperwork, designed by the people who own it
Quotations, invoices, delivery slips, certificates, contracts, price lists: whoever already builds them in Office can build the Odoo report. No XML, no developer.
Without it
- Every layout change is a developer task
- Excel exports are rebuilt by hand each month
- Customers get a generic PDF, not your document
- One template for every company and language
With it
- Edit the Word or Excel file, upload, done
- Print the filled sheet straight from the record
- Your fonts, tables, logos and page setup
- A variant per company or language when needed
What you get
Design in Word
Upload a .docx made in Word or LibreOffice. Fonts, tables, logos, headers, footers and page setup stay exactly as you designed them.
Design in Excel
The same app takes .xlsx files: write placeholders in cells, repeat rows for every line, keep your formats, widths and colours.
Placeholders, loops, conditions
Type {{ object.name }} where data belongs, repeat a table row for every order line, show a block only when a condition is true. Real template logic, not a fixed field list.
One click in the Print menu
Add a template to the Print menu of its model. Several templates per model, each with its own name, allowed groups and companies.
DOCX, XLSX or PDF
Give customers an editable file or a PDF. PDF is produced with LibreOffice when it is installed on the server; the template form tells you, and without it the original file is delivered.
Language, dates, money
Dates, amounts and quantities print in the record's language and currency, and amounts can be spelled out in words. A French customer gets a French date and a decimal comma.
Images, QR codes, barcodes
Place product pictures or logos from the record, and generate QR codes and barcodes from any value, with the size you choose.
Field browser
Pick a field, follow relations level by level and copy the ready placeholder, with the right format for dates, money, selections, pictures and line loops.
Test on a sample record
Render the template on a record before anyone prints it. The check is strict: a misspelled field is reported by name instead of printing a blank.
Per company and language
Add variants that use another file for a company or a language. The most specific match wins and the main file is the fallback.
Safe by design
Templates can only read fields, with the rights and record rules of the user who prints. They cannot reach the database, the environment, other users' data or run code.
Batch printing
Select many records: get one ZIP with a file per record, or one merged file (a single Word document, one sheet per record in Excel, or a merged PDF).
File name and attachment
Name each file with an expression such as Quotation {{ object.name }} and optionally keep every printed file as an attachment of its record.
Ready-made examples
Load a quotation, an invoice, a delivery slip, a purchase order and a contact card, in Word and Excel, then change them in Office to match your brand.
Placeholders at a glance
The field browser writes these for you.
| You type | It prints |
|---|---|
| {{ object.name }} | A field of the record |
| {{ object.partner_id.country_id.name }} | A field of a linked record |
| {{ object.date_order|date }} | A date in the record's language |
| {{ object.amount_total|money }} | An amount with the record's currency |
| {{ object.amount_total|words }} | The amount spelled out |
| {{ image(object.image_1920, 30) }} | A picture, 30 mm wide |
| {{ qr(object.name) }} | A QR code |
| {%tr for l in object.order_line %} ... {%tr endfor %} | Repeat a table row for each line |
| {% if object.note %} ... {% endif %} | Show a block only when it applies |
See it working
Fictional customers and products.
Your templates in one list
Word and Excel templates per model, with the output format and whether they are in the Print menu. One button loads the ready-made examples.

A template
Model, uploaded file, output format, batch behaviour and file name expression. Add it to the Print menu with one button.

Field browser
Choose a field, follow the relations and copy the placeholder. Dates, money and pictures get the right helper automatically.

Test on a sample record
Pick any record and check the placeholders, or download a sample file before the template goes live.

Variants per company and language
Use another file for a company or a language without creating another template.

In the Print menu
Templates appear in the Print menu of the model, for one record or a whole selection.

The printed Word document
A quotation printed from the Word template: lines repeated, totals formatted in the record's currency and the amount in words.

The printed Excel file
The same order from an Excel template: one row per line, real numbers and your formats.

How it compares
| Feature | This app | Typical alternatives |
|---|---|---|
| Word (.docx) templates | Yes | Yes |
| Excel (.xlsx) templates in the same app | Yes | Separate app |
| Loops, conditions and filters in the template | Yes | Limited |
| PDF output | Yes | Yes |
| Per-company and per-language template variants | Yes | No |
| Field browser with relations and ready placeholders | Yes | Partly |
| Strict test on a sample record | Yes | Partly |
| Sandboxed templates, user's own access rights | Yes | Partly |
| QR codes and barcodes | Yes | Partly |
| Amounts in words, language and currency aware | Yes | Partly |
| ZIP or merged batch printing | Yes | Partly |
| File name expression, save on record | Yes | Partly |
| Ready-made quotation, invoice, delivery and purchase templates | Yes | No |
Questions
Which Office files can I use?
Word (.docx) and Excel (.xlsx). Build them in Microsoft Office or LibreOffice; placeholders are plain text in the document.
How do I repeat a table row for every order line?
Put {%tr for l in object.order_line %} in the first cell of the row and {%tr endfor %} in the last cell, then use {{ l.name }}, {{ l.price_subtotal|money }} in the other cells. In Excel, put {% for l in object.order_line %} and {% endfor %} alone on the row above and below.
Do I need LibreOffice?
Only for PDF output. Word and Excel output needs nothing extra. The template form shows whether LibreOffice was found and falls back to the original file when it was not.
Can a template read data the user cannot see?
No. Templates run with the rights and record rules of the person who prints, and can only read fields. They cannot call methods that change data, reach the database or run code.
Which models can I print?
Any model: sales, invoices, purchases, inventory, contacts, HR or your own models. Pick the model on the template and it appears in that model's Print menu.
Can customers get documents in their own language?
Yes. Dates, numbers and amounts follow the record's language, picked from the partner by default or from an expression you set. Variants let you use a translated file per language.
Can I print many records at once?
Yes. Select them in the list and choose the template: you get a ZIP with one file per record, or one merged file, as the template is set up.
How do I know a placeholder is misspelled?
Use Test on a record. It renders strictly and names the first unknown field instead of leaving a blank.
Is it multi-company?
Yes. Limit a template to some companies, or add a variant that uses another file per company.
Need help or a change?
Stuck on a template, or a document you cannot reproduce yet? Use the Contact Vendor button on this page or write to us.
Email support: support@viyuginfotech.com
Scan with your phone to chat on WhatsApp or write us an email:

+91 83207 42187

Send us an email
Website: viyuginfotech.com
Release notes
Initial release
Word and Excel templates with placeholders, loops and conditions, DOCX, XLSX and PDF output, Print menu, field browser, test on a sample record, company and language variants, batch printing and ready-made examples.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 1170 |
| Technical Name |
office_report_templates |
| License | OPL-1 |
| Website | https://viyuginfotech.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module