Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Website
  3. Website PDF Viewer v 16.0
  4. Sales Conditions FAQ

Website PDF Viewer

by Awins
Odoo

$ 15.34

v 16.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 16.0 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 16.0 17.0 18.0 19.0 20.0
  • Description
  • Manifest
  • License
Apps / Awins / website_pdf_page_viewer

Website PDF Viewer

Adds a PDF Viewer block to the website builder: visitors read a PDF inside the page, one page at a time, and you decide per document whether it is public or for signed-in users only.

Install›Configure›Use
/catalogue · a visitor reading page 2 of 6
Website PDF Viewer in the Odoo backend
Odoo16.0, 17.0, 18.0, 19.0, 20.0
EditionsCommunity, Enterprise
Works withWebsite
LicenceOPL-1, 14 EUR
Tests14 automated, run on every version
Modulewebsite_pdf_page_viewer

The situation

A catalogue, a price list or a data sheet usually ends up as a link on the page. The visitor leaves for the browser viewer, which looks different on every phone, and anyone who gets the attachment URL can pass it on. Odoo's own File upload block does not give you a reading view or an access rule.

This module adds a PDF Viewer block and a PDF Documents list. The block shows the file page by page with a toolbar. The file is sent by a controller that checks the document's access rule first, so a Logged-in Visitors Only document answers 403 to a visitor who is not signed in.

What it adds

PDF Viewer block
Drag it onto any page
The block is in the Content group of the builder. The viewer is drawn inside the page and nothing it creates is saved with the page.
Without it: a link to the file, or an iframe that depends on the browser's own PDF viewer.
Upload a PDF
Pick or upload in the block options
Choose a document in the PDF field of the options panel, or click Upload a PDF to add a file from your computer without leaving the editor.
PDF Documents
One list of website PDFs
Under Website › Site › Content. Each document has an uploaded file, or an existing attachment picked from the list, or an attachment URL such as /web/content/123.
Logged-in Visitors Only
Enforced on the server
/website_pdf_viewer/3/document.pdf answers 403 to visitors who are not signed in and sends nothing. The viewer shows a Sign in button that returns to the page.
Published
Switch a document off everywhere
An unpublished document answers 404 on every page that still shows the block.
Download button · Print button
Off until you turn them on
Both are off in a new block. Print renders the pages in a hidden frame, so it does not depend on the browser's PDF plugin. The file itself can still be saved by anyone who can open it.
Height (px) · Page fit · Start page
Layout settings per block
Height from 200 to 3000 px, Fit width, Fit whole page or Actual size (100%), and the page the viewer opens on.
Zoom · Full screen
Reading tools
Previous and next, page number box, keyboard arrows, zoom in and out, full screen, and swipe on touch screens.

Getting started

Install

Open Apps, clear the Apps filter, search for Website PDF Viewer and click Activate. It needs Website. The viewer uses the pdf.js files that come with Odoo; nothing is loaded from another site.

Apps › website_pdf_page_viewer › Activate
Configure

Open a page with Edit, drop PDF Viewer from the Content group, select it and choose or upload a PDF in the options panel. Set Height, Page fit and the three button switches, then Save.

Website › Edit › Blocks › Content › PDF Viewer Settings for Website PDF Viewer
Use

Visitors open the page and read. Add documents under PDF Documents; tick Logged-in Visitors Only for the ones that are not for everyone.

The PDF Documents form: an uploaded file, Published, Logged-in Visitors Only, and the File URL the viewer calls.
The PDF Documents form: an uploaded file, Published, Logged-in Visitors Only, and the File URL the viewer calls.
A visitor who is not signed in on a Logged-in Visitors Only document sees a Sign in button, and the file URL itself answers 403.
A visitor who is not signed in on a Logged-in Visitors Only document sees a Sign in button, and the file URL itself answers 403.

Fine print

Can a visitor still download a PDF I only show in the viewer?
If you can show a page, the visitor's browser has received the file. Turning Download off removes the button and the print button; it does not stop someone who uses the browser's developer tools. Use Logged-in Visitors Only when the file must not reach everyone.
Does it load anything from the internet?
No. It loads the pdf.js build in Odoo's web module, the same files the backend viewer uses.
Is the attachment public?
No. The viewer URL does not contain the attachment id or its access token, and the attachment keeps its own access rules.
Where can I run it?
On Odoo.sh and on your own server, Community or Enterprise, versions 16.0 to 20.0. Odoo Online doesn't accept third-party modules.
What doesn't it do?
No text selection or search inside the PDF, no thumbnails, and one page is shown at a time (no continuous scroll or page-turn animation). The block text is English only. Download and print switches are display options, not file protection. The Logged-in Visitors Only rule is per document, not per block.
Can you adapt it for us?
Yes. Email odoo.expert.111@gmail.com with your Odoo version and what you'd like changed.

Log

16.0.1.0.0 · Oct 2026
First release, published for Odoo 16.0 to 20.0.

Do you need the viewer to show a document only to one customer group?

Tell us the rule you need and we will tell you if it fits.

Email odoo.expert.111@gmail.com
QR code: email Awins about this module

Also by Awins

Done-By Stamps Done-By Stamps document_done_by_stamps
Bulk Attachment Tools Bulk Attachment Tools attachment_bulk_tools
AI Site Builder AI Site Builder ai_awins_site_builder
Awins builds small Odoo modules that do one job. website_pdf_page_viewer · 16.0.1.0.0
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Website (website)
• Discuss (mail)
Lines of code 828
Technical Name website_pdf_page_viewer
LicenseOPL-1
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

  • 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.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with