Skip to Content
Menu

PDF Viewer Readonly Widget

by
Odoo

5.99

v 16.0 Third Party
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 45
Technical Name cbu_pdf_viewer_readonly_widget
LicenseLGPL-3
Websitehttps://codebyus.net/
Versions 16.0 17.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 45
Technical Name cbu_pdf_viewer_readonly_widget
LicenseLGPL-3
Websitehttps://codebyus.net/
Versions 16.0 17.0 18.0

PDF Viewer Readonly Widget

A secure PDF viewer widget for Odoo 16 that prevents document downloading, printing, and editing - while still allowing document viewing.

Key Features


  • Secure Document Viewing: Display PDFs without allowing downloads
  • Download Prevention: Users can view but cannot download PDF files
  • Print Restriction: Disables printing functionality
  • Read-Only Mode: Full PDF viewing capabilities in a secure environment
  • Simple Integration: Easy to implement in any Odoo form view
  • Native Integration: Seamlessly integrates with Odoo 16 UI

Use Cases


  • Sensitive Documents: HR policies, legal agreements, confidential reports
  • Controlled Access: Allow reading without risking data exfiltration
  • Compliance Requirements: Meet data protection standards while maintaining access
  • Customer Portals: Share documents securely with external users

Implementation


Simply use the widget in your form view to display PDFs in read-only mode.

Basic Usage

<field name="your_binary_pdf_field" widget="pdf_viewer_readonly"/>

Screenshots


Normal PDF viewer workflow

Normal PDF Viewer Flow

Limited options in read-only mode

Limited Options in Read-Only Mode

Download and print functionality disabled

Disabled Download and Print Functionality

Technical Details


This widget is built on PDF.js technology with specialized modifications to enforce read-only behavior. It extends Odoo's standard PDF viewer with enhanced security features, preventing users from downloading, printing, or extracting the document content while maintaining the ability to view the PDF.

Compatibility


Odoo Version Module Version
16.0 16.0.1.0.0

Credits


Role Name
Author CodeByUs
License LGPL-3.0-or-later
Icon Custom-generated (DALL·E + Odoo 16-style)

Need help?

Contact us for support or implementation assistance.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.