From 2f1426c3bbafd8b1ecfda2d5f1cee6cfa336d6e9 Mon Sep 17 00:00:00 2001 From: David Date: Wed, 29 Mar 2023 13:43:30 +0200 Subject: [PATCH] [MIG] mail_preview_audio: Migration to 15.0 TT41546 --- mail_preview_audio/README.rst | 13 ++++++---- mail_preview_audio/__manifest__.py | 11 +++++--- mail_preview_audio/readme/CONTRIBUTORS.rst | 3 +++ .../static/description/index.html | 10 ++++--- .../static/src/js/preview.esm.js | 19 ++++++++++++++ mail_preview_audio/static/src/js/preview.js | 26 ------------------- mail_preview_audio/template/assets.xml | 17 ------------ 7 files changed, 43 insertions(+), 56 deletions(-) create mode 100644 mail_preview_audio/static/src/js/preview.esm.js delete mode 100644 mail_preview_audio/static/src/js/preview.js delete mode 100644 mail_preview_audio/template/assets.xml diff --git a/mail_preview_audio/README.rst b/mail_preview_audio/README.rst index 5c702bed6..07fb8fba8 100644 --- a/mail_preview_audio/README.rst +++ b/mail_preview_audio/README.rst @@ -14,13 +14,13 @@ Preview audio files :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github - :target: https://github.com/OCA/social/tree/14.0/mail_preview_audio + :target: https://github.com/OCA/social/tree/15.0/mail_preview_audio :alt: OCA/social .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/social-14-0/social-14-0-mail_preview_audio + :target: https://translation.odoo-community.org/projects/social-15-0/social-15-0-mail_preview_audio :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/205/14.0 + :target: https://runbot.odoo-community.org/runbot/205/15.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -38,7 +38,7 @@ 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 smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -55,6 +55,9 @@ Contributors * Enric Tobella +* `Tecnativa `_: + * David Vidal + Maintainers ~~~~~~~~~~~ @@ -68,6 +71,6 @@ 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. -This module is part of the `OCA/social `_ project on GitHub. +This module is part of the `OCA/social `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/mail_preview_audio/__manifest__.py b/mail_preview_audio/__manifest__.py index 33bc92766..600bc94f0 100644 --- a/mail_preview_audio/__manifest__.py +++ b/mail_preview_audio/__manifest__.py @@ -3,13 +3,16 @@ { "name": "Preview audio files", - "summary": """ - Allow to preview audio files""", - "version": "14.0.1.0.0", + "summary": "Allow to preview audio files", + "version": "15.0.1.0.0", "license": "AGPL-3", "author": "Creu Blanca,Odoo Community Association (OCA)", "website": "https://github.com/OCA/social", "depends": ["mail_preview_base"], - "data": ["template/assets.xml"], + "data": [], "qweb": ["static/src/xml/preview.xml"], + "assets": { + "web.assets_backend": ["mail_preview_audio/static/src/js/*.js"], + "web.assets_qweb": ["mail_preview_audio/static/src/xml/*.xml"], + }, } diff --git a/mail_preview_audio/readme/CONTRIBUTORS.rst b/mail_preview_audio/readme/CONTRIBUTORS.rst index 93ec993e0..5d1721f23 100644 --- a/mail_preview_audio/readme/CONTRIBUTORS.rst +++ b/mail_preview_audio/readme/CONTRIBUTORS.rst @@ -1 +1,4 @@ * Enric Tobella + +* `Tecnativa `_: + * David Vidal diff --git a/mail_preview_audio/static/description/index.html b/mail_preview_audio/static/description/index.html index 92f4eff23..931f10aea 100644 --- a/mail_preview_audio/static/description/index.html +++ b/mail_preview_audio/static/description/index.html @@ -3,7 +3,7 @@ - + Preview audio files