From 4b06406868654fe6aad93e556f39a51a6725ad9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Marques?= Date: Wed, 18 Nov 2020 15:16:12 +0000 Subject: [PATCH] [MIG] mass_mailing_custom_unsubscribe_event: Migration to 13.0 Add tests TT26693 --- .../README.rst | 11 +- .../__manifest__.py | 4 +- .../demo/assets.xml | 15 ++ .../mass_mailing_custom_unsubscribe_event.pot | 11 +- .../readme/CONTRIBUTORS.rst | 1 + .../static/description/index.html | 7 +- .../static/src/js/tour.js | 45 +++++ .../tests/__init__.py | 4 + .../tests/test_ui.py | 154 ++++++++++++++++++ .../views/event_registration_views.xml | 5 +- 10 files changed, 240 insertions(+), 17 deletions(-) create mode 100644 mass_mailing_custom_unsubscribe_event/demo/assets.xml create mode 100644 mass_mailing_custom_unsubscribe_event/static/src/js/tour.js create mode 100644 mass_mailing_custom_unsubscribe_event/tests/__init__.py create mode 100644 mass_mailing_custom_unsubscribe_event/tests/test_ui.py diff --git a/mass_mailing_custom_unsubscribe_event/README.rst b/mass_mailing_custom_unsubscribe_event/README.rst index 10ecb4314..64fac68d2 100644 --- a/mass_mailing_custom_unsubscribe_event/README.rst +++ b/mass_mailing_custom_unsubscribe_event/README.rst @@ -14,13 +14,13 @@ Allow to unsubscribe discretely from an event :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/12.0/mass_mailing_custom_unsubscribe_event + :target: https://github.com/OCA/social/tree/13.0/mass_mailing_custom_unsubscribe_event :alt: OCA/social .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mass_mailing_custom_unsubscribe_event + :target: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mass_mailing_custom_unsubscribe_event :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/12.0 + :target: https://runbot.odoo-community.org/runbot/205/13.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -54,7 +54,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. @@ -72,6 +72,7 @@ Contributors * `Tecnativa `_: * Pedro M. Baeza + * João Marques Maintainers ~~~~~~~~~~~ @@ -86,6 +87,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/mass_mailing_custom_unsubscribe_event/__manifest__.py b/mass_mailing_custom_unsubscribe_event/__manifest__.py index a05202809..c36e0dd93 100644 --- a/mass_mailing_custom_unsubscribe_event/__manifest__.py +++ b/mass_mailing_custom_unsubscribe_event/__manifest__.py @@ -1,13 +1,15 @@ # Copyright 2020 Tecnativa - Pedro M. Baeza +# Copyright 2020 Tecnativa - João Marques # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Allow to unsubscribe discretely from an event", "category": "Marketing", - "version": "12.0.1.0.1", + "version": "13.0.1.0.0", "depends": ["event", "mass_mailing_custom_unsubscribe"], "author": "Tecnativa, Odoo Community Association (OCA)", "website": "https://github.com/OCA/social", "data": ["views/event_registration_views.xml"], + "demo": ["demo/assets.xml"], "license": "AGPL-3", "installable": True, "auto_install": True, diff --git a/mass_mailing_custom_unsubscribe_event/demo/assets.xml b/mass_mailing_custom_unsubscribe_event/demo/assets.xml new file mode 100644 index 000000000..c52ea4c61 --- /dev/null +++ b/mass_mailing_custom_unsubscribe_event/demo/assets.xml @@ -0,0 +1,15 @@ + + + + +