MuK Preview

by
Odoo
v 8.0 v 10.0 v 11.0 v 12.0 Third Party 5406
Download for v 10.0 Deploy on Odoo.sh
Technical Name muk_web_preview
LicenseAGPL-3
Websitehttp://www.mukit.at
Also available in version v 11.0 v 8.0 v 12.0
You bought this module and need support? Click here!
Technical Name muk_web_preview
LicenseAGPL-3
Websitehttp://www.mukit.at
Also available in version v 11.0 v 8.0 v 12.0

Preview Dialog

Preview your files directly in Odoo.

MuK IT GmbH - www.mukit.at

Overview

Adds a button to the FieldBinaryFile form widget to preview the file content directly in the browser. Currently the following file extensions are supported:

Portable Document Format (.pdf)
Open Document (.odt, .odp, .ods, .otp)

Help and Support

Email Contact

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, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
The thing is good, but it's not clear how this works. :)
by
Eduard
on 4/23/18, 11:15 AM

Something I did not understand how it works :) At me all files as downloaded, and it is downloaded. No view. I'm using version 10. Is there any demonstration of how this should work? Help me please


Works well but some problems with Internet Explorer
by
Michael Lundell
on 4/23/18, 10:56 AM

The module works well but after installing the module I was not able to view any Odoo page with Internet Explorer. It turned out there were two short hand notations in "muk_web_preview/static/src/js/preview_handler.js" that I had to remove. It then worked in IE as well. +++ b/muk_web_preview/static/src/js/preview_handler.js @@ -50,7 +50,7 @@ var PDFHandler = BaseHandler.extend({ createHtml: function(url, mimetype, extension, title) { var result = $.Deferred(); var viewerUrlTempalte = _.template('/muk_web_preview/static/lib/PDFjs/web/viewer.html?file='); - result.resolve($(QWeb.render('ViewerJSFrame', {url: viewerUrlTempalte({url})}))); + result.resolve($(QWeb.render('ViewerJSFrame', {url: viewerUrlTempalte({url : url})}))); return $.when(result); }, }); @@ -67,7 +67,7 @@ var OpenOfficeHandler = BaseHandler.extend({ createHtml: function(url, mimetype, extension, title) { var result = $.Deferred(); var viewerUrlTempalte = _.template('/muk_web_preview/static/lib/ViewerJS/index.html#'); - result.resolve($(QWeb.render('ViewerJSFrame', {url: viewerUrlTempalte({url})}))); + result.resolve($(QWeb.render('ViewerJSFrame', {url: viewerUrlTempalte({url : url})}))); return $.when(result); }, }); @@ -78,4 +78,4 @@ return { OpenOfficeHandler: OpenOfficeHandler, }


by
David
on 7/18/17, 4:35 AM

There are no comments yet!