PDF Report Preview - Print Preview of Any Report Without Downloading
by Modvanta https://modvantaapps.tech/$ 4.99

PDF Report Preview for Odoo 19
Odoo downloads every PDF report you print. Check a quotation before sending it and you end up with a Downloads folder full of SO0002 (3).pdf. With this module the report opens in a preview window inside Odoo. Print it, download it or close it. Nothing lands on disk unless you ask for it.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Small module, one job, done properly.
Preview instead of download Quotations, invoices, delivery slips, your own reports: any QWeb PDF report opens in a large preview window, from the Print menu or from a print button on the form. | Print, download, full screen The buttons you need sit under the document. Download keeps the file name Odoo would have used, like Quotation - S00002.pdf. | Four ways to open Download (what Odoo does now), preview in a dialog, open in a new browser tab, or preview and open the print window at once for people who print all day. |
Company, user and report Set a default per company. Each user can pick their own. A report can be fixed for everybody, for example delivery slips always straight to print. | Rendered once The PDF is built one time. Print, Download and the viewer all use that same file, so the server does not redo the work for every click. | Leaves the rest alone Text reports, HTML reports and printer modules that send a report straight to a printer run first and work as before. The default setting is Odoo's normal download. |
Who it is for
Sales and accounting teams They print quotations and invoices many times a day, mostly to check them before they go out. | Warehouses Delivery slips and picking lists go to the printer, not to a folder. The print dialog mode saves a click on every one. | Anyone sharing a computer No more customer documents piling up in a shared Downloads folder. |
Key features
Taken on an Odoo 19 database with the Sales and Invoicing demo data.
Print -> PDF Quote on a quotation. The PDF opens over the form with zoom, page navigation and the Print, Download, Open in new tab and Full screen buttons. The file name is shown at the bottom right.

One click makes the viewer use the whole browser window. Handy for long invoices or checking line items.

Every PDF report works the same way. This is a customer invoice printed with the PDF without Payment report.

Settings -> General Settings -> PDF Report Preview. Each company can have its own default. Out of the box it stays on download, so nothing changes until you pick something.

The Per report settings button opens the PDF reports in the Print menu. Here the PRO-FORMA invoice is set to open the print window straight away. Leave the others on User or company setting.

The user menu has a PDF Reports entry. Salespeople who like downloads keep downloads. Everyone else can preview. Taken as the demo salesperson, not as an administrator.

The same choice sits in My Preferences and on the user form, so an administrator can set it for others.

How it works
1 Install Nothing to configure if you are happy to decide later. Printing keeps downloading until a setting says otherwise. | 2 Pick the default In Settings choose what happens for the company, for example Preview in a dialog. | 3 Fine-tune Fix the odd report (delivery slip -> print dialog) and let users change their own choice from the user menu. |
Settings
| PDF Report Preview (company) | Download, preview in a dialog, new browser tab, or preview and open the print window. Default: download. |
| Open PDF As (report) | User or company setting (default), or one of the four modes for everybody. |
| PDF Reports Open As (user) | Company default (default), or one of the four modes. |
| Which one wins | The report setting first, then the user, then the company. |
FAQ
Compatibility
Odoo 19 Community and Enterprise, on-premise and Odoo.sh. Depends only on base modules. | Any PDF report Core reports, reports from other modules, and your own QWeb PDF reports. | Tested 20 automated tests, including a browser test that opens a report in the preview window, plus record rule and CSRF checks. |
Stop collecting PDFs you only wanted to look at
One payment, the module is yours. Questions before you buy are welcome.
EMAIL modvantaapps@gmail.com | AUTHOR Modvanta | INCLUDED Preview window, per user and per report settings, bug fixes |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 501 |
| Technical Name |
mdv_report_pdf_preview |
| License | OPL-1 |
| Website | https://modvantaapps.tech/ |
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