MuK Preview

by
Odoo 3
v 10.0 Third Party 3994
Download for 10.0 series Deploy on Odoo.sh
You bought this module and need support ? Click here !
Technical name muk_web_preview
LicenseAGPL-3
Websitehttp://www.mukit.at
Read description for v 12.0 v 11.0 v 8.0
Technical name muk_web_preview
LicenseAGPL-3
Websitehttp://www.mukit.at
Read description for v 12.0 v 11.0 v 8.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

Please log in to comment on this module

Please choose a rating from 1 to 5 for this module.
Odoo
The thing is good, but it's not clear how this works. :)
by on

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


Odoo
Works well but some problems with Internet Explorer
by on

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, }


Odoo
by on