CODEerts PDF Report Click Action | Open Reports in New Tab or Viewer | Odoo Print Behavior | Stop Forced Download
by CODEerts https://www.codeerts.comPDF Report Click Action
Decide what happens when you click a PDF report.
Download it, open it in a new tab, or view it inside Odoo.
A per user preference with a company default. Stop the forced download and read your report right away.
|
3
Click Behaviors
|
Per User
Preference
|
All
PDF Reports
|
0
Per Report Setup
|
Free
And Open Source
|
The report problem every Odoo user knows
Every report you print becomes a file to hunt down
|
Print always means download
Click Print on an invoice or quotation and Odoo drops a PDF into your downloads folder. You have to go find it before you can even read it. |
Your downloads folder fills up
Reprint the same document a few times and you are left with a pile of near identical PDF copies cluttering your computer. |
One behavior for everyone
Some people want to just view a report, others want the file. Standard Odoo gives the whole team the same forced download with no say. |
What this module does
PDF Report Click Action adds a simple report click behavior setting to Odoo. You choose what happens the moment a PDF report is clicked: keep the standard download, open the report in a new browser tab in the built in PDF viewer, or view it inline inside Odoo without leaving the screen.
The choice is a per user preference with a per company default, so an administrator sets one default for the whole company while each user is still free to override it. It applies to every PDF report, from a Print button, a list action or a wizard, and it never changes your report content.
|
โฌ๏ธ
Download
Keep the standard Odoo behavior. The report is saved as a PDF file, exactly as it works today. This is the default, so nothing changes until you decide it should. |
๐
Open in a New Tab
The report opens in a new browser tab using the built in PDF viewer. No file is saved. Read it, print it or download it from the viewer only if you actually want to. |
๐ฅ๏ธ
View Inside Odoo
The report shows in an embedded viewer right inside Odoo, so you never leave the screen you were on. An Open in new tab button is always one click away. |
|
๐ค Per User Preference
Every user has a report click behavior field in their Preferences, so each person gets the delivery they prefer. |
๐ข Per Company Default
An administrator sets one default in General Settings and everyone in the company follows it unless they override it. |
|
๐จ Works on Every Report
The behavior applies to any PDF report, whether it comes from a form Print button, a list action or a wizard. |
โ๏ธ No Per Report Setup
Install it and the setting is there. There is nothing to configure on individual reports and no code to write. |
|
๐ Never Touches Your Reports
It only changes how the finished PDF is delivered to the browser. Your report templates and content stay exactly the same. |
๐ Built In PDF Viewer
New tab and inside Odoo both use the browser PDF viewer, so print and download stay available whenever you need them. |
How it works
|
1
|
Set the company default
Go to Settings, General Settings, and in the Reports section choose Download, Open in a new tab or View inside Odoo. |
|
2
|
Let users choose their own
Any user can open their Preferences and pick their own behavior, or leave it on Use company default to follow the company setting. |
|
3
|
Click any PDF report
Print an invoice, a quotation, a delivery slip or any other report from a form, a list or a wizard, just like you do now. |
|
4
|
It opens the way you chose
The report downloads, opens in a new tab, or appears in the embedded viewer, based on your preference. No extra clicks. |
Screenshots
See it in action, from the company setting to a report open on screen.
Set the company default in General Settings
A clear Reports section lets the administrator pick the default click behavior for the whole company.
Each user picks their own preference
The report click behavior field in a user's Preferences lets them override the company default just for themselves.
Your report opens on screen, no download
With Open in a new tab or View inside Odoo, the report opens on your screen in the PDF viewer, ready to read or print, with no file dropped into your downloads folder.
Technical information
|
Version
19.0
|
License
LGPL-3
|
Editions
Community & Enterprise
|
Dependencies
web, base_setup (core)
|
Technical name: codeerts_report_click_action ยท Applies to: all qweb PDF reports ยท Scope: per user preference with a company default
Frequently asked questions
Install this module and set the report click behavior to Open in a new tab or View inside Odoo. The report then opens in a viewer instead of downloading to your computer. You can set this for the whole company or just for yourself.
Yes. Set the report click behavior to Open in a new tab. When you click any PDF report it opens in a new tab using the browser built in PDF viewer, so you can read or print it without saving a file first.
Yes. Every user has a report click behavior field in their Preferences. Leave it on the company default to follow the company setting, or pick Download, Open in a new tab or View inside Odoo just for yourself.
No. It never touches your report content or templates. It only decides how the finished PDF is delivered to the browser, so your existing reports look exactly the same.
Use the version selector at the top of this page to pick your Odoo release. It works on both Community and Enterprise, and each Odoo Apps Store listing shows the exact version it supports.
The team behind this module
About CODEerts
Full-Service Odoo ERP Agency ยท Solutions That Scale
Every module in our store is built from real client work, tested in production and maintained long-term by a team of Odoo certified consultants. When you need more than an app, we deliver the full solution.
|
๐๏ธ Implementation
Full Odoo roll-outs from requirements to go-live, across any industry and company size. |
๐งฉ Custom Development
Bespoke modules, OWL components and business logic built precisely to your workflow. |
๐ Migrations
Zero-data-loss upgrades from older Odoo versions with full custom module porting. |
|
๐ Integrations
Payment gateways, shipping carriers, biometric devices, eCommerce and third-party APIs. |
๐ Odoo Audits
Performance, security and code-quality reviews that surface risks before they become problems. |
๐งโ๐ป Support & Training
Ongoing helpdesk, user training and monthly retainers so your team stays productive. |
|
Odoo
Certified
|
6+
Years
|
50+
Projects
|
10+
Industries
|
40+
Published Apps
|
More from CODEerts
Other apps we build to make Odoo do more. Tap any card to open it on the Odoo Apps Store.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 164 |
| Technical Name |
codeerts_report_click_action |
| License | LGPL-3 |
| Website | https://www.codeerts.com |
Please log in to comment on this module