From 53c78e1085db1b69ab919c03d8644a81ed7c0622 Mon Sep 17 00:00:00 2001 From: manu Date: Wed, 27 Apr 2022 16:32:14 +0200 Subject: [PATCH] [MIG]web_widget_image_download: Migration to 15.0 --- web_widget_image_download/__manifest__.py | 13 ++++++++++--- .../readme/CONTRIBUTORS.rst | 1 + web_widget_image_download/views/assets.xml | 17 ----------------- 3 files changed, 11 insertions(+), 20 deletions(-) delete mode 100644 web_widget_image_download/views/assets.xml diff --git a/web_widget_image_download/__manifest__.py b/web_widget_image_download/__manifest__.py index 543d5f5ec..9ed52dbc1 100644 --- a/web_widget_image_download/__manifest__.py +++ b/web_widget_image_download/__manifest__.py @@ -3,14 +3,21 @@ { "name": "Web Widget - Image Download", "summary": "Allows to download any image from its widget", - "version": "14.0.1.0.0", + "version": "15.0.1.0.0", "category": "web", "website": "https://github.com/OCA/web", "author": "Tecnativa, Odoo Community Association (OCA), Kaushal Prajapati", "license": "LGPL-3", "application": False, "installable": True, - "data": ["views/assets.xml"], "depends": ["web"], - "qweb": ["static/src/xml/web_widget_image_download.xml"], + "assets": { + "web.assets_backend": [ + "web_widget_image_download/static/src/js/**/*", + "web_widget_image_download/static/src/scss/**/*", + ], + "web.assets_qweb": [ + "web_widget_image_download/static/src/xml/**/*", + ], + }, } diff --git a/web_widget_image_download/readme/CONTRIBUTORS.rst b/web_widget_image_download/readme/CONTRIBUTORS.rst index 3840e3997..36637f4ad 100644 --- a/web_widget_image_download/readme/CONTRIBUTORS.rst +++ b/web_widget_image_download/readme/CONTRIBUTORS.rst @@ -8,3 +8,4 @@ * Kaushal Prajapati * Peerapong Supasompob +* Manuel Regidor diff --git a/web_widget_image_download/views/assets.xml b/web_widget_image_download/views/assets.xml deleted file mode 100644 index f84a50782..000000000 --- a/web_widget_image_download/views/assets.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - -