title: PDF.JS printing from Chrome broken (Odoo 13 Docker)
body: <p>I'm using Odoo 13 in Docker. When viewing a PDF preview using PDF.JS (such as work instructions on a work order) there is no print button when using a Chrome-based browser, and pressing ctrl+p shows the error message &quot;Warning: Printing is not fully supported by this browser.&quot; There is also a &quot;More Information&quot; button, which when pressed displays &quot;PDF.js v? (build: ?).&quot; Printing, both with ctrl+p and with the print button, works as expected in Firefox.</p>
  <p>I found the following open Github issue, though it's for Odoo 12: <a href="https://github.com/odoo/odoo/issues/27668" rel="nofollow noreferrer">https://github.com/odoo/odoo/issues/27668</a></p>
  <p>I tried upgrading my version of PDF.JS by essentially copying this PR: <a href="https://github.com/odoo/odoo/pull/49457" rel="nofollow noreferrer">https://github.com/odoo/odoo/pull/49457</a> I made sure to restart Odoo, upgrade the web module &amp; regenerate assets bundles, but neither of the versions I tried (2.2.228 &amp; 2.9.359) behaved any differently.</p>
  <p>I also tried the following snippet of code from the bottom of that Github issue:</p>
  <pre><code>&lt;templates&gt;
  
      &lt;t t-extend=&quot;DocumentViewer.Content&quot;&gt;
          &lt;t t-jquery=&quot;iframe.o_viewer_pdf&quot; t-operation=&quot;replace&quot;&gt;
              &lt;iframe class=&quot;mb48 o_viewer_pdf&quot; t-if=&quot;widget.activeAttachment.type == 'application/pdf'&quot; t-attf-src=&quot;/web/content/#{widget.activeAttachment.id}&quot; /&gt;
          &lt;/t&gt;
      &lt;/t&gt;
  
  &lt;/templates&gt;
  </code></pre>
  <p>According to the user who posted it, this code is supposed to override PDF.JS and use the browser's default PDF viewer. I tried putting this code in an XML file in a custom module (tried loading it both as 'data' &amp; 'qweb' from <strong>manifest</strong>.py), but saw no effects.</p>
  <p>If anyone has faced this issue before, or just has any ideas I haven't tried, I would greatly appreciate some help!</p>