From bcf6a0dad8ec295de537dafbe15b8ad5163c97f1 Mon Sep 17 00:00:00 2001 From: Petar Najman Date: Fri, 23 Feb 2018 17:58:41 +0100 Subject: [PATCH] ADD: Adding module web_widget_image_url --- web_widget_image_url/README.rst | 56 ++++++++++++++++++ web_widget_image_url/__init__.py | 0 web_widget_image_url/__manifest__.py | 17 ++++++ .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/image.png | Bin 0 -> 17944 bytes .../static/src/js/web_widget_image_url.js | 36 +++++++++++ .../static/src/xml/web_widget_image_url.xml | 17 ++++++ .../views/web_widget_image_url.xml | 12 ++++ 8 files changed, 138 insertions(+) create mode 100644 web_widget_image_url/README.rst create mode 100644 web_widget_image_url/__init__.py create mode 100644 web_widget_image_url/__manifest__.py create mode 100644 web_widget_image_url/static/description/icon.png create mode 100644 web_widget_image_url/static/description/image.png create mode 100644 web_widget_image_url/static/src/js/web_widget_image_url.js create mode 100644 web_widget_image_url/static/src/xml/web_widget_image_url.xml create mode 100644 web_widget_image_url/views/web_widget_image_url.xml diff --git a/web_widget_image_url/README.rst b/web_widget_image_url/README.rst new file mode 100644 index 00000000..28bd6132 --- /dev/null +++ b/web_widget_image_url/README.rst @@ -0,0 +1,56 @@ +.. image:: https://www.gnu.org/graphics/lgplv3-147x51.png + :target: https://www.gnu.org/licenses/lgpl-3.0.en.html + :alt: License: LGPL-v3 + +============= +Web Image URL +============= + +This module provides web widget for displaying image from URL on form and tree views. + +Usage +===== + +To use this module, you need to decorate xml field with widget ``image_url``. + + +.. code-block:: xml + + + +Here's an examples of how images looks like on a form + +.. figure:: static/description/image.png + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues +`_. In case of trouble, please +check there if your issue has already been reported. If you spotted it first, +help us smash it by providing detailed and welcomed feedback. + +Credits +======= + +Contributors +------------ + +* Petar Najman +* Sladjan Kantar + + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit https://odoo-community.org. diff --git a/web_widget_image_url/__init__.py b/web_widget_image_url/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/web_widget_image_url/__manifest__.py b/web_widget_image_url/__manifest__.py new file mode 100644 index 00000000..30f31df3 --- /dev/null +++ b/web_widget_image_url/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2017 - 2018 Modoolar +# License LGPLv3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html). +{ + "name": "Web Image URL", + "summary": "This module provides web widget for displaying image from URL", + "category": "Web", + "version": "11.0.1.0.0", + "license": "LGPL-3", + "author": "Modoolar, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/web/", + "depends": ["web"], + "data": [ + "views/web_widget_image_url.xml", + ], + "qweb": ["static/src/xml/*.xml"], + "installable": True, +} diff --git a/web_widget_image_url/static/description/icon.png b/web_widget_image_url/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 zcmW++2RxMjAAjx~&dlBk9S+%}OXg)AGE&Cb*&}d0jUxM@u(PQx^-s)697TX`ehR4?GS^qbkof1cslKgkU)h65qZ9Oc=ml_0temigYLJfnz{IDzUf>bGs4N!v3=Z3jMq&A#7%rM5eQ#dc?k~! zVpnB`o+K7|Al`Q_U;eD$B zfJtP*jH`siUq~{KE)`jP2|#TUEFGRryE2`i0**z#*^6~AI|YzIWy$Cu#CSLW3q=GA z6`?GZymC;dCPk~rBS%eCb`5OLr;RUZ;D`}um=H)BfVIq%7VhiMr)_#G0N#zrNH|__ zc+blN2UAB0=617@>_u;MPHN;P;N#YoE=)R#i$k_`UAA>WWCcEVMh~L_ zj--gtp&|K1#58Yz*AHCTMziU1Jzt_jG0I@qAOHsk$2}yTmVkBp_eHuY$A9)>P6o~I z%aQ?!(GqeQ-Y+b0I(m9pwgi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v6(3L_MCU0d3W##AB0M~3D00EWoKZqsJYT(#@w$Y_H7G22M~ApVFTRHMI_3be)Lkn#0F*V8Pq zc}`Cjy$bE;FJ6H7p=0y#R>`}-m4(0F>%@P|?7fx{=R^uFdISRnZ2W_xQhD{YuR3t< z{6yxu=4~JkeA;|(J6_nv#>Nvs&FuLA&PW^he@t(UwFFE8)|a!R{`E`K`i^ZnyE4$k z;(749Ix|oi$c3QbEJ3b~D_kQsPz~fIUKym($a_7dJ?o+40*OLl^{=&oq$<#Q(yyrp z{J-FAniyAw9tPbe&IhQ|a`DqFTVQGQ&Gq3!C2==4x{6EJwiPZ8zub-iXoUtkJiG{} zPaR&}_fn8_z~(=;5lD-aPWD3z8PZS@AaUiomF!G8I}Mf>e~0g#BelA-5#`cj;O5>N Xviia!U7SGha1wx#SCgwmn*{w2TRX*I literal 0 HcmV?d00001 diff --git a/web_widget_image_url/static/description/image.png b/web_widget_image_url/static/description/image.png new file mode 100644 index 0000000000000000000000000000000000000000..bfd0522c9a6823eee642a116561fb2cc607a0f04 GIT binary patch literal 17944 zcmbun1yI|;*Cmmg2=VxI0CIr^OwLgkqsM1cJNe zrqKSs@4avC+&k}OGP6l`_v{`&d-nVi{8mv43zHlZ0|Ns~MjEJsfpIq$1LM|%hquwc zxZMtYhi>kG#AMVSK72Smuk;)J71vqfowKUFnX{XrlPQL(g^RPZsgtq)@FNV2XBaZT zH)`%vo3kF?^2b*qJIAa2{Yf^oiLoXH@{vHM*oP{~pI^P{CdqZOl=CXCnHhOeQ`|tf z%#%AlGBDDo#5B%h^~lq>@FCWCkj6soqp}Jvg6JL&bF;zIi>t(61d}ochu-e)bmr+G zGpY!W<$Vu7;V_UQdQ%t}I};8JOnnnWILDd3J%TR1zbbP-P~5uidVBo5>E_e3zb!^9 z#dXhr+W%w6_tLStdpFRCwc;bFgkH(0#6=7@xL8wDr#ISU@GhmhGN7Vdwci%r7Jwjk zOdi?^{9QzCFyJwX>o#03l{Q7d&8|HN&u#MAW!EBI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QpNUr`k^yv{hFsod4t+NTZA@n zNXEylb?#?fZSQN^^Zq<~uNiHRw%p&Twb%iGt{3l>>vv(Li*Zng_nUxa1O3g1vlGUP zj^zzAoh7gF3i%4@(jST;RekAV_4A5 g<@|q#_FLrmk^h0L!1`k~lRxXrNGJl!#NPY=FPD(_dH?_b literal 0 HcmV?d00001 diff --git a/web_widget_image_url/static/src/js/web_widget_image_url.js b/web_widget_image_url/static/src/js/web_widget_image_url.js new file mode 100644 index 00000000..841d5a76 --- /dev/null +++ b/web_widget_image_url/static/src/js/web_widget_image_url.js @@ -0,0 +1,36 @@ +// Copyright 2017 - 2018 Modoolar +// License LGPLv3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html). + +odoo.define('web_widget_image_url.FieldImageURL', function (require) { +"use strict"; + + var AbstractField = require('web.AbstractField'); + var core = require('web.core'); + var registry = require('web.field_registry'); + var QWeb = core.qweb; + var _t = core._t; + + var UrlImage = AbstractField.extend({ + className: 'o_attachment_image', + template: 'FieldImageURL', + placeholder: "/web/static/src/img/placeholder.png", + supportedFieldTypes: ['char'], + + url(){ + return this.value ? this.value : this.placeholder; + }, + + _render() { + this._super(arguments); + + var self = this; + var $img = this.$("img:first"); + $img.on('error', function() { + $img.attr('src', self.placeholder); + self.do_warn(_t("Image"), _t("Could not display the selected image.")); + }); + } + }); + + registry.add('image_url', UrlImage); +}); diff --git a/web_widget_image_url/static/src/xml/web_widget_image_url.xml b/web_widget_image_url/static/src/xml/web_widget_image_url.xml new file mode 100644 index 00000000..7ccd3020 --- /dev/null +++ b/web_widget_image_url/static/src/xml/web_widget_image_url.xml @@ -0,0 +1,17 @@ + + + + + + + + + diff --git a/web_widget_image_url/views/web_widget_image_url.xml b/web_widget_image_url/views/web_widget_image_url.xml new file mode 100644 index 00000000..bb49a3cc --- /dev/null +++ b/web_widget_image_url/views/web_widget_image_url.xml @@ -0,0 +1,12 @@ + + + +