From 3bf27e34b143281809cfa23e8d5885d5857ce0f4 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 --- .../__manifest__.py | 4 +- .../demo/assets.xml | 15 ++ .../readme/CONTRIBUTORS.rst | 1 + .../static/src/js/tour.js | 47 ++++++ .../tests/__init__.py | 4 + .../tests/test_ui.py | 154 ++++++++++++++++++ 6 files changed, 224 insertions(+), 1 deletion(-) 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/__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..eefa8fa52 --- /dev/null +++ b/mass_mailing_custom_unsubscribe_event/demo/assets.xml @@ -0,0 +1,15 @@ + + + + + +