diff --git a/web_list_html_widget/README.rst b/web_list_html_widget/README.rst new file mode 100644 index 000000000..e1b123886 --- /dev/null +++ b/web_list_html_widget/README.rst @@ -0,0 +1,38 @@ +HTML widget for list/tree views +=============================== + +This module allows to use a widget="html" for fields in list(tree) views. + +Known issues / Roadmap +====================== + +* The content of the field will be rendered without HTML escaping and without + any other security measure. + +Credits +======= + +Contributors +------------ + +* Thomas Rehn +* Dan Kiplangat + +Image +----- + +* Odoo Community Association: `Icon `_. + + +Maintainer +---------- + +.. image:: http://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: http://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 http://odoo-community.org. diff --git a/web_list_html_widget/__init__.py b/web_list_html_widget/__init__.py index 11c88e1df..2e937c85f 100644 --- a/web_list_html_widget/__init__.py +++ b/web_list_html_widget/__init__.py @@ -1,20 +1,3 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2014 initOS GmbH & Co. KG (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## +# Copyright (C) 2018 initOS GmbH & Co. KG () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). diff --git a/web_list_html_widget/__openerp__.py b/web_list_html_widget/__openerp__.py index d04085660..8aa07c875 100644 --- a/web_list_html_widget/__openerp__.py +++ b/web_list_html_widget/__openerp__.py @@ -1,44 +1,19 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2010-2013 OpenERP s.a. (). -# Copyright (C) 2014 initOS GmbH & Co. KG (). -# Author Thomas Rehn -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## +# Copyright (C) 2014 initOS GmbH & Co. KG () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "HTML widget for list/tree views", - "version": "0.1", + "version": "8.0.1.0.0", "depends": ["web"], - 'author': "initOS GmbH & Co. KG,Odoo Community Association (OCA)", - "category": "", - 'license': 'AGPL-3', - "description": """This module allows to use a widget="html" for fields in -list(tree) views. - -*WARNING* The content of the field will be rendered without HTML escaping and -without any other security measure.""", - 'data': [ + 'author': "initOS GmbH & Co. KG, Sunflower IT, " + "Odoo Community Association (OCA)", + "website": "https://github.com/OCA/web", + "category": "Web", + "license": "AGPL-3", + "summary": "This module allows to use a widget='html' for fields in list " + "(tree) views", + "data": [ + 'views/web_list_html_widget.xml', ], - 'demo': [ - ], - 'test': [ - ], - 'js': ['static/src/js/view_list.js'], - 'installable': True, - 'auto_install': False, + "installable": True } diff --git a/web_list_html_widget/i18n/web_list_html_widget.pot b/web_list_html_widget/i18n/web_list_html_widget.pot deleted file mode 100644 index b099b985d..000000000 --- a/web_list_html_widget/i18n/web_list_html_widget.pot +++ /dev/null @@ -1,16 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 7.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-10-25 14:09+0000\n" -"PO-Revision-Date: 2014-10-25 16:10+0100\n" -"Last-Translator: M\n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: \n" - diff --git a/web_list_html_widget/static/description/icon.png b/web_list_html_widget/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/web_list_html_widget/static/description/icon.png differ diff --git a/web_list_html_widget/views/web_list_html_widget.xml b/web_list_html_widget/views/web_list_html_widget.xml new file mode 100644 index 000000000..2125550a7 --- /dev/null +++ b/web_list_html_widget/views/web_list_html_widget.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file