diff --git a/web_drop_target/README.rst b/web_drop_target/README.rst index 098802d39..ccd9bb1f3 100644 --- a/web_drop_target/README.rst +++ b/web_drop_target/README.rst @@ -10,9 +10,9 @@ Drop target support .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 +.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github :target: https://github.com/OCA/web/tree/13.0/web_drop_target :alt: OCA/web @@ -23,7 +23,7 @@ Drop target support :target: https://runbot.odoo-community.org/runbot/162/13.0 :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| This module extends the functionality of the web client to support dropping local files into the web client. diff --git a/web_drop_target/__init__.py b/web_drop_target/__init__.py index f7c59d20c..afdfa89af 100644 --- a/web_drop_target/__init__.py +++ b/web_drop_target/__init__.py @@ -1,2 +1,2 @@ # Copyright 2018 Therp BV -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). diff --git a/web_drop_target/__manifest__.py b/web_drop_target/__manifest__.py index 791fb1dbf..d52bc86f7 100644 --- a/web_drop_target/__manifest__.py +++ b/web_drop_target/__manifest__.py @@ -1,11 +1,11 @@ # Copyright 2018 Therp BV -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). { "name": "Drop target support", "version": "13.0.1.1.4", "author": "Therp BV,Odoo Community Association (OCA)", "website": "https://github.com/OCA/web", - "license": "AGPL-3", + "license": "LGPL-3", "category": "Usability", "summary": "Allows to drag files into Odoo", "depends": ["web"], diff --git a/web_drop_target/static/description/index.html b/web_drop_target/static/description/index.html index 5a2101929..8cd4232e6 100644 --- a/web_drop_target/static/description/index.html +++ b/web_drop_target/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/web Translate me on Weblate Try me on Runbot

+

Beta License: LGPL-3 OCA/web Translate me on Weblate Try me on Runbot

This module extends the functionality of the web client to support dropping local files into the web client.

By default, an attachment will be created when dropping a file on a form.

Further, this module is meant as a base drag&drop module supporting other actions after some file is dropped so that other modules can add more features.

diff --git a/web_drop_target/static/src/js/web_drop_target.js b/web_drop_target/static/src/js/web_drop_target.js index 261e58207..cecb2e5eb 100644 --- a/web_drop_target/static/src/js/web_drop_target.js +++ b/web_drop_target/static/src/js/web_drop_target.js @@ -1,7 +1,7 @@ /* global Uint8Array, base64js */ // Copyright 2018 Therp BV // Copyright 2021 Tecnativa - Alexandre D. Díaz -// License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +// License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). odoo.define("web_drop_target", function(require) { "use strict";