{ "info": { "author": "MuK IT", "author_email": "", "bugtrack_url": null, "classifiers": [ "Framework :: Odoo", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Programming Language :: Python" ], "description": "===========\nMuK Preview\n===========\n\nMuK Preview enables support to preview binary files directly in Odoo. It adds a\nbutton to the binary field, which opens a file preview dialog. The preview can\nbe easily extended by adding new Handlers to the Preview Generator.\n\nInstallation\n============\n\nTo install this module, you need to:\n\nDownload the module and add it to your Odoo addons folder. Afterward, log on to\nyour Odoo server and go to the Apps menu. Trigger the debug mode and update the\nlist by clicking on the \"Update Apps List\" link. Now install the module by\nclicking on the install button.\n\nAnother way to install this module is via the package management for Python\n(`PyPI `_).\n\nTo install our modules using the package manager make sure\n`odoo-autodiscover `_ is installed\ncorrectly. Then open a console and install the module by entering the following\ncommand:\n\n``pip install --extra-index-url https://nexus.mukit.at/repository/odoo/simple ``\n\nThe module name consists of the Odoo version and the module name, where\nunderscores are replaced by a dash.\n\n**Module:** \n\n``odoo-addon-``\n\n**Example:**\n\n``sudo -H pip3 install --extra-index-url https://nexus.mukit.at/repository/odoo/simple odoo11-addon-muk-utils``\n\nOnce the installation has been successfully completed, the app is already in the\ncorrect folder. Log on to your Odoo server and go to the Apps menu. Trigger the \ndebug mode and update the list by clicking on the \"Update Apps List\" link. Now\ninstall the module by clicking on the install button.\n\nThe biggest advantage of this variant is that you can now also update the app\nusing the \"pip\" command. To do this, enter the following command in your console:\n\n``pip install --upgrade --extra-index-url https://nexus.mukit.at/repository/odoo/simple ``\n\nWhen the process is finished, restart your server and update the application in \nOdoo. The steps are the same as for the installation only the button has changed\nfrom \"Install\" to \"Upgrade\".\n\nYou can also view available Apps directly in our `repository `_\nand find a more detailed installation guide on our `website `_.\n\nFor modules licensed under OPL-1, you will receive access data when you purchase\nthe module. If the modules were not purchased directly from\n`MuK IT `_ please contact our support (support@mukit.at)\nwith a confirmation of purchase to receive the corresponding access data.\n\nUpgrade\n============\n\nTo upgrade this module, you need to:\n\nDownload the module and add it to your Odoo addons folder. Restart the server\nand log on to your Odoo server. Select the Apps menu and upgrade the module by\nclicking on the upgrade button.\n\nIf you installed the module using the \"pip\" command, you can also update the\nmodule in the same way. Just type the following command into the console:\n\n``pip install --upgrade --extra-index-url https://nexus.mukit.at/repository/odoo/simple ``\n\nWhen the process is finished, restart your server and update the application in \nOdoo, just like you would normally.\n\nConfiguration\n=============\n\nNo additional configuration is needed to use this module.\n\nUsage\n=============\n\nTo each Binary Field Widget a button is added, which opens the Preview Dialog.\n\nFramework\n=============\n\nhe preview can be easily extended by adding new Preview to the registry.\nThe following steps show the implementation of the PDF preview.\n\nPreviewContent\n--------------\n\n.. code-block:: javascript\n\n\todoo.define('muk_preview.PreviewContentPDF', function (require) {\n\t\"use strict\";\n\n\tvar core = require('web.core');\n\tvar ajax = require('web.ajax');\n\tvar utils = require('web.utils');\n\tvar session = require('web.session');\n\n\tvar registry = require('muk_preview.registry');\n\n\tvar AbstractPreviewContent = require('muk_preview.AbstractPreviewContent');\n\n\tvar QWeb = core.qweb;\n\tvar _t = core._t;\n\n\tvar PreviewContentPDF = AbstractPreviewContent.extend({\n\t\ttemplate: \"muk_preview.PreviewContentPDF\",\n\t\tinit: function(parent, url, mimetype, filename) {\n\t \tthis._super.apply(this, arguments);\n\t this.viewer_url = '/web/static/lib/' + \n\t \t'pdfjs/web/viewer.html?file=' + \n\t \tencodeURIComponent(this.url);\n\t },\n\t renderPreviewContent: function() {\n\t \tvar def = $.Deferred();\n\t \tthis.$('.mk_preview_pdf iframe').on('load', function () {\n\t \t\t$(this).contents().find('button#openFile').hide();\n\t \t\tdef.resolve();\n\t });\n\t \treturn def;\n\t },\n\t downloadable: false,\n\t printable: false,\n\t});\n\n\tregistry.add('pdf', PreviewContentPDF);\n\tregistry.add('.pdf', PreviewContentPDF);\n\tregistry.add('application/pdf', PreviewContentPDF);\n\n\treturn PreviewContentPDF;\n\n\t});\n\nCredits\n=======\n\nContributors\n------------\n\n* Mathias Markl \n\nAuthor & Maintainer\n-------------------\n\nThis module is maintained by the `MuK IT GmbH `_.\n\nMuK IT is an Austrian company specialized in customizing and extending Odoo.\nWe develop custom solutions for your individual needs to help you focus on\nyour strength and expertise to grow your business.\n\nIf you want to get in touch please contact us via mail\n(sale@mukit.at) or visit our website (https://mukit.at).\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.mukit.at", "keywords": "", "license": "LGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo12-addon-muk-web-preview", "package_url": "https://pypi.org/project/odoo12-addon-muk-web-preview/", "platform": "", "project_url": "https://pypi.org/project/odoo12-addon-muk-web-preview/", "project_urls": { "Homepage": "http://www.mukit.at" }, "release_url": "https://pypi.org/project/odoo12-addon-muk-web-preview/12.0.3.0.2/", "requires_dist": [ "odoo12-addon-muk-web-utils", "odoo (<12.1dev,>=12.0a)" ], "requires_python": ">=3.5", "summary": "File Preview Dialog", "version": "12.0.3.0.2" }, "last_serial": 5582385, "releases": { "12.0.2.3.0": [ { "comment_text": "", "digests": { "md5": "e718e0aa2d479e5653215036841751b9", "sha256": "99ff9e91ddba2a27cd83ed4a3ed9ed3a14f4c4351a026f863987e430cdacd459" }, "downloads": -1, "filename": "odoo12_addon_muk_web_preview-12.0.2.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e718e0aa2d479e5653215036841751b9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 487792, "upload_time": "2019-03-04T13:30:41", "url": "https://files.pythonhosted.org/packages/8a/46/d5860eb514df44db92f2666dfa2b99d50142fb1ef0ad4b68b3bdc7213107/odoo12_addon_muk_web_preview-12.0.2.3.0-py2.py3-none-any.whl" } ], "12.0.2.3.1": [ { "comment_text": "", "digests": { "md5": "480b2ad4395d9e3e709702d14f6a2b07", "sha256": "7a2ead949e6c059c0234926f0010aac50b3f7fbe5194114cac978af872550497" }, "downloads": -1, "filename": "odoo12_addon_muk_web_preview-12.0.2.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "480b2ad4395d9e3e709702d14f6a2b07", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 487906, "upload_time": "2019-03-04T13:40:55", "url": "https://files.pythonhosted.org/packages/0f/a9/79784aeb969bbbabae9ed1ed6a7639f654927a3c8b9d35b2016b5cff22fe/odoo12_addon_muk_web_preview-12.0.2.3.1-py2.py3-none-any.whl" } ], "12.0.2.3.10": [ { "comment_text": "", "digests": { "md5": "5f7e27d67dab961ed487181b5d995037", "sha256": "b75be379bc518f4c8d6d66d86071ab0abfbcb5f8a280d7c9826e9c56717fd72a" }, "downloads": -1, "filename": "odoo12_addon_muk_web_preview-12.0.2.3.10-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5f7e27d67dab961ed487181b5d995037", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 488028, "upload_time": "2019-03-05T23:25:41", "url": "https://files.pythonhosted.org/packages/4a/19/8e75e18e1bcba576be9dfa5b8f559d16f66023a7dd2a8d5c6864d859d4e9/odoo12_addon_muk_web_preview-12.0.2.3.10-py2.py3-none-any.whl" } ], "12.0.2.3.11": [ { "comment_text": "", "digests": { "md5": "4be4a8e9ad8f23e3fd5bc1b388cfb17f", "sha256": "7ad35fd424c2caf6eaf830a3e622c98819e07ec57ba17ebce5833d703bb33e9d" }, "downloads": -1, "filename": "odoo12_addon_muk_web_preview-12.0.2.3.11-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4be4a8e9ad8f23e3fd5bc1b388cfb17f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 488026, "upload_time": "2019-03-05T23:31:30", "url": "https://files.pythonhosted.org/packages/8d/70/1ecf7e2ad9835a63dc2b5bbde8926af47c20716bbd1cb84c60dcae8f8c28/odoo12_addon_muk_web_preview-12.0.2.3.11-py2.py3-none-any.whl" } ], "12.0.2.3.12": [ { "comment_text": "", "digests": { "md5": "720bbac0395ee1bf935fcecbf932da29", "sha256": "108a68909355236af7e18f7a327ec37b17d139be80f858eef408b90d59ec206c" }, "downloads": -1, "filename": "odoo12_addon_muk_web_preview-12.0.2.3.12-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "720bbac0395ee1bf935fcecbf932da29", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 487976, "upload_time": "2019-03-05T23:40:48", "url": "https://files.pythonhosted.org/packages/af/e8/35e0670333de509804711ec567df062cf0e77f5b644622cfa63d8c41cc53/odoo12_addon_muk_web_preview-12.0.2.3.12-py2.py3-none-any.whl" } ], "12.0.2.3.13": [ { "comment_text": "", "digests": { "md5": "faa0f6dcf9c3b77f09019829ad8ebfa8", "sha256": "6317cd76728e71a3c340df9e239bcd989d3e41ac5cc8e574d96bc76d4373a76c" }, "downloads": -1, "filename": "odoo12_addon_muk_web_preview-12.0.2.3.13-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "faa0f6dcf9c3b77f09019829ad8ebfa8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 488339, "upload_time": "2019-07-05T17:59:22", "url": "https://files.pythonhosted.org/packages/16/32/7eb3117aa2cbd6d8a1b57e66e958db8c888df5f9f33c4e66f016bb93c744/odoo12_addon_muk_web_preview-12.0.2.3.13-py2.py3-none-any.whl" } ], "12.0.2.3.2": [ { "comment_text": "", "digests": { "md5": "35a794cf2a00ec2369f093fa14604248", "sha256": "8cfd88ccad2ea5edb49a00153db3aea95a41b0e793efd47eecb75930b3c83799" }, "downloads": -1, "filename": "odoo12_addon_muk_web_preview-12.0.2.3.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "35a794cf2a00ec2369f093fa14604248", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 487926, "upload_time": "2019-03-04T16:03:33", "url": "https://files.pythonhosted.org/packages/97/c7/9838bd937bcde01fd1d638967555a0305bcde0a213bafb08516520e76d30/odoo12_addon_muk_web_preview-12.0.2.3.2-py2.py3-none-any.whl" } ], "12.0.2.3.3": [ { "comment_text": "", "digests": { "md5": "d9a304664dfed3a36ab3b403fe8985cf", "sha256": "b04456b0a9e48065c4b5ca7f5000cdfdc4311d5bef5792871f493fa444f0addf" }, "downloads": -1, "filename": "odoo12_addon_muk_web_preview-12.0.2.3.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d9a304664dfed3a36ab3b403fe8985cf", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 487961, "upload_time": "2019-03-04T21:29:35", "url": "https://files.pythonhosted.org/packages/79/31/d3d82c1c74a02a6c45c3d78cea15d8ee932226e2ee3840c3e3d9e8fba060/odoo12_addon_muk_web_preview-12.0.2.3.3-py2.py3-none-any.whl" } ], "12.0.2.3.4": [ { "comment_text": "", "digests": { "md5": "476d5ab27aa1a99dc9d3547ef591dbf4", "sha256": "243b5dacad2a21fd3cd91f55bcfb27b9e8a409d9dff4b317fdba1085ef0f4adb" }, "downloads": -1, "filename": "odoo12_addon_muk_web_preview-12.0.2.3.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "476d5ab27aa1a99dc9d3547ef591dbf4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 487950, "upload_time": "2019-03-04T23:17:39", "url": "https://files.pythonhosted.org/packages/49/57/e9a3f54b980c2fe6495af77c4fa7f7f94c4849c4dc2f4efa7bf796257c80/odoo12_addon_muk_web_preview-12.0.2.3.4-py2.py3-none-any.whl" } ], "12.0.2.3.5": [ { "comment_text": "", "digests": { "md5": "68945fd827d21b1ce8b7b7940908aee5", "sha256": "13811275d82d1eeadf7322c762acb25d77966ca0734629aded4091904046e757" }, "downloads": -1, "filename": "odoo12_addon_muk_web_preview-12.0.2.3.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "68945fd827d21b1ce8b7b7940908aee5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 487973, "upload_time": "2019-03-04T23:26:20", "url": "https://files.pythonhosted.org/packages/45/43/e9b0d4e61e1bc54be9e96b702a5badfcf972977c2915d29e045fe78a9de8/odoo12_addon_muk_web_preview-12.0.2.3.5-py2.py3-none-any.whl" } ], "12.0.2.3.6": [ { "comment_text": "", "digests": { "md5": "48261a18efc270a0e082e9f346b2d85c", "sha256": "c97fdad2c14405c18fa7d4fc78b0ab56d94f3533dab4b8c900fa98afc8a926f6" }, "downloads": -1, "filename": "odoo12_addon_muk_web_preview-12.0.2.3.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "48261a18efc270a0e082e9f346b2d85c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 487998, "upload_time": "2019-03-04T23:41:34", "url": "https://files.pythonhosted.org/packages/d3/61/f80df41e6eabd939cdb7172df5b01050568617340d40f1d7d0e88623b19b/odoo12_addon_muk_web_preview-12.0.2.3.6-py2.py3-none-any.whl" } ], "12.0.2.3.7": [ { "comment_text": "", "digests": { "md5": "90f2c260f521eec2e62ea32ec2ff4b63", "sha256": "c53e5bb6cd61beadb324d7bd7838434c01f240980b98863e822c256729bea559" }, "downloads": -1, "filename": "odoo12_addon_muk_web_preview-12.0.2.3.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "90f2c260f521eec2e62ea32ec2ff4b63", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 488018, "upload_time": "2019-03-05T00:16:13", "url": "https://files.pythonhosted.org/packages/ed/ac/d90e7bf146f5bb8269fa7ad80cddc9686d83e14001a1fb460103bf540632/odoo12_addon_muk_web_preview-12.0.2.3.7-py2.py3-none-any.whl" } ], "12.0.2.3.8": [ { "comment_text": "", "digests": { "md5": "376fa54d0a18bc8311997de289e5dfae", "sha256": "d284633eb557c54562f3ba06234e7fe75e8e4bb7dd641c646c276bfd5102a8d3" }, "downloads": -1, "filename": "odoo12_addon_muk_web_preview-12.0.2.3.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "376fa54d0a18bc8311997de289e5dfae", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 488021, "upload_time": "2019-03-05T14:13:58", "url": "https://files.pythonhosted.org/packages/ab/d1/de21663932fe08ab7305cd020065b70e4796ffcf9ca63899f0ab1e6cbaa0/odoo12_addon_muk_web_preview-12.0.2.3.8-py2.py3-none-any.whl" } ], "12.0.2.3.9": [ { "comment_text": "", "digests": { "md5": "78c413cfac0db371ced74e200c89c6c4", "sha256": "783d4e7a4b7ddf1906397fef77b85aae423d4d2dee11beca6f769ee86645e295" }, "downloads": -1, "filename": "odoo12_addon_muk_web_preview-12.0.2.3.9-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "78c413cfac0db371ced74e200c89c6c4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 487963, "upload_time": "2019-03-05T14:26:50", "url": "https://files.pythonhosted.org/packages/40/87/baed426bf7afac7024b5df7d0feec94a5cee902b1aeddda3435c4abd98ed/odoo12_addon_muk_web_preview-12.0.2.3.9-py2.py3-none-any.whl" } ], "12.0.3.0.0": [ { "comment_text": "", "digests": { "md5": "1af380b895d13d28843b06fcee4391aa", "sha256": "47367b1061d347bf6bf800481ad0a63429c8562aa85e626f667e493214660157" }, "downloads": -1, "filename": "odoo12_addon_muk_web_preview-12.0.3.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1af380b895d13d28843b06fcee4391aa", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 480814, "upload_time": "2019-07-13T17:36:12", "url": "https://files.pythonhosted.org/packages/ec/fc/e640c5b3aa5e70b0bceaf943d3dc016537d71608bd30705dee1bb2e120bd/odoo12_addon_muk_web_preview-12.0.3.0.0-py2.py3-none-any.whl" } ], "12.0.3.0.1": [ { "comment_text": "", "digests": { "md5": "81cf043aff42361412e1e3035bf75f13", "sha256": "f8d25c6a57517ced74b552a3b716e9cfb59e33984dd0fa4172487e8461d91f41" }, "downloads": -1, "filename": "odoo12_addon_muk_web_preview-12.0.3.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "81cf043aff42361412e1e3035bf75f13", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 482863, "upload_time": "2019-07-13T23:36:46", "url": "https://files.pythonhosted.org/packages/f3/a5/781a369da18184f5624ce4873d6048718a1a2a2698c37f6871fa028931d7/odoo12_addon_muk_web_preview-12.0.3.0.1-py2.py3-none-any.whl" } ], "12.0.3.0.2": [ { "comment_text": "", "digests": { "md5": "68cd715cf4fd6bc8dfb2f40a405467ed", "sha256": "2b6b8f90ec1c193912590ef748a5845282ce37f657ec4b3959830ca425550838" }, "downloads": -1, "filename": "odoo12_addon_muk_web_preview-12.0.3.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "68cd715cf4fd6bc8dfb2f40a405467ed", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 482972, "upload_time": "2019-07-25T09:42:07", "url": "https://files.pythonhosted.org/packages/67/0e/0ee5564b3ddfaf8435a3ee9401237a6f30c333a10e0b989fc9345e599674/odoo12_addon_muk_web_preview-12.0.3.0.2-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "68cd715cf4fd6bc8dfb2f40a405467ed", "sha256": "2b6b8f90ec1c193912590ef748a5845282ce37f657ec4b3959830ca425550838" }, "downloads": -1, "filename": "odoo12_addon_muk_web_preview-12.0.3.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "68cd715cf4fd6bc8dfb2f40a405467ed", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 482972, "upload_time": "2019-07-25T09:42:07", "url": "https://files.pythonhosted.org/packages/67/0e/0ee5564b3ddfaf8435a3ee9401237a6f30c333a10e0b989fc9345e599674/odoo12_addon_muk_web_preview-12.0.3.0.2-py2.py3-none-any.whl" } ] }