| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 424 |
| Technical Name |
wm_report_pdf_options |
| License | OPL-1 |
| Website | https://wamodoo.com |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 424 |
| Technical Name |
wm_report_pdf_options |
| License | OPL-1 |
| Website | https://wamodoo.com |
| Versions | 18.0 19.0 |
Flexible PDF Print Options
Empower each user to decide how Odoo handles PDF reports: Print directly, Download, or Open in a new tab. Includes granular overrides and silent automation.
User Preferences
Each system user can configure their default global PDF print action (Ask, Print, Download, or Open Tab) directly from My Preferences.
Granular Report Rules
Define distinct overrides for specific reports. For example, always Print Invoices directly, but Download Purchase Orders as files.
Remember My Choice
Check "Remember my choice" in the popup modal to automatically create an override rule in the background without opening the preferences.
Mobile App Compatible
Fully compatible with Odoo's Mobile App wrapper on Android and iOS, automatically falling back to native download flows to prevent app freezes.
How it Works
The app works out of the box with zero configuration required. The system seamlessly resolves user preferences using a hierarchy-based resolution:
Hierarchical Option Resolution
Odoo evaluates user preferences in this order: User-Report Specific Overrides → User Global Preference → Report Action Default → Standard Prompt (Modal).
Quick Keyboard Shortcuts
No mouse clicks needed! Press P to Print, D to Download, or O to Open the tab when the dialog is shown.
Zero Page-Refresh Hot Reloading
Preferences updated in My Profile or Report settings apply instantly. The app automatically invalidates Odoo's internal action caches, eliminating the need to refresh your browser page.
Note: A detailed, print-ready PDF user guide (README.pdf) is included directly inside the module folder to assist administrators and users with step-by-step setup and operations.
Print Action Options Matrix
| Option Name | Execution Flow | Result |
|---|---|---|
| Print directly | Renders PDF inside an off-screen iframe dynamically. | Launches native print dialog |
| Download | Delegates report download to Odoo action manager. | Saves PDF onto local disk |
| Open Tab | Instructs the browser to open the PDF URL in a new window. | Opens separate tab |
Premium Optimizations
- Wkhtmltopdf Checking Cache: The app caches wkhtmltopdf state verification. This cuts down server hits and speeds up print times drastically compared to other modules.
- Non-Blocking Async Writes: Writing "Remember my choice" overrides is fully asynchronous. Clicking buttons executes printing instantly, saving DB records in the background.
- Independent Security Rules: Includes Odoo security rules so users cannot see or modify other users' printing records.
- Zero-Refresh Hot Reloading: Employs client-side action cache invalidation to reload user preferences dynamically, removing page-refresh requirements.
- Odoo Mobile Integration: Detects iOS/Android Mobile App WebViews dynamically and uses native wrapper safe downloader integrations to avoid app freezes.
Why Choose This Module?
- Odoo 19 Ready: Extends Odoo 19's native backend web asset registries seamlessly.
- Community & Enterprise: 100% compatible with both Odoo Community and Odoo Enterprise editions.
- No Hardcoded Hacks: Clean OWL component with event listeners and standard registry category hooks.
- Secure & Stable: Zero performance overhead, clean Python models, and native relational constraints.
Need Help or Customization?
Have questions, feedback, or need customization? Feel free to contact our support team. We reply within 24 hours.
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