mirror of https://github.com/OCA/social.git
[MIG] mass_mailing_event_registration_exclude: Migration to 14.0
parent
764ddb3a54
commit
eb58c7ed11
|
@ -14,13 +14,13 @@ Mass mailing 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/13.0/mass_mailing_event_registration_exclude
|
||||
:target: https://github.com/OCA/social/tree/14.0/mass_mailing_event_registration_exclude
|
||||
:alt: OCA/social
|
||||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
||||
:target: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mass_mailing_event_registration_exclude
|
||||
:target: https://translation.odoo-community.org/projects/social-14-0/social-14-0-mass_mailing_event_registration_exclude
|
||||
: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/13.0
|
||||
:target: https://runbot.odoo-community.org/runbot/205/14.0
|
||||
:alt: Try me on Runbot
|
||||
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
|
@ -59,7 +59,7 @@ Bug Tracker
|
|||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/social/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 <https://github.com/OCA/social/issues/new?body=module:%20mass_mailing_event_registration_exclude%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
`feedback <https://github.com/OCA/social/issues/new?body=module:%20mass_mailing_event_registration_exclude%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
|
||||
Do not contact contributors directly about support or help with technical issues.
|
||||
|
||||
|
@ -93,6 +93,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 <https://github.com/OCA/social/tree/13.0/mass_mailing_event_registration_exclude>`_ project on GitHub.
|
||||
This module is part of the `OCA/social <https://github.com/OCA/social/tree/14.0/mass_mailing_event_registration_exclude>`_ project on GitHub.
|
||||
|
||||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
# Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com>
|
||||
# Copyright 2017 David Vidal <david.vidal@tecnativa.com>
|
||||
# Copyright 2016 Tecnativa - Antonio Espinosa
|
||||
# Copyright 2017 Tecnativa - David Vidal
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
{
|
||||
"name": "Mass mailing event",
|
||||
"summary": "Link mass mailing with event for excluding recipients",
|
||||
"version": "13.0.1.0.0",
|
||||
"version": "14.0.1.0.0",
|
||||
"category": "Marketing",
|
||||
"website": "https://github.com/OCA/social",
|
||||
"author": "Tecnativa, " "Odoo Community Association (OCA)",
|
||||
"author": "Tecnativa, Odoo Community Association (OCA)",
|
||||
"license": "AGPL-3",
|
||||
"application": False,
|
||||
"installable": True,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com>
|
||||
<!-- Copyright 2016 Tecnativa - Antonio Espinosa
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||
<odoo noupdate="1">
|
||||
|
||||
|
|
|
@ -9,14 +9,15 @@ msgstr ""
|
|||
"Project-Id-Version: Odoo Server 10.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-12-01 02:19+0000\n"
|
||||
"PO-Revision-Date: 2017-12-01 02:19+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"PO-Revision-Date: 2022-11-18 13:44+0000\n"
|
||||
"Last-Translator: Francesco Foresti <francesco.foresti@ooops404.com>\n"
|
||||
"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
|
||||
"Language: it\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.14.1\n"
|
||||
|
||||
#. module: mass_mailing_event_registration_exclude
|
||||
#: model:ir.model.fields,field_description:mass_mailing_event_registration_exclude.field_event_registration_state__code
|
||||
|
@ -26,7 +27,7 @@ msgstr ""
|
|||
#. module: mass_mailing_event_registration_exclude
|
||||
#: model:ir.model,name:mass_mailing_event_registration_exclude.model_res_partner
|
||||
msgid "Contact"
|
||||
msgstr ""
|
||||
msgstr "Contatto"
|
||||
|
||||
#. module: mass_mailing_event_registration_exclude
|
||||
#: model:ir.model.fields,field_description:mass_mailing_event_registration_exclude.field_event_registration_state__create_uid
|
||||
|
@ -86,7 +87,7 @@ msgstr "Ultimo aggiornamento il"
|
|||
#. module: mass_mailing_event_registration_exclude
|
||||
#: model:ir.model,name:mass_mailing_event_registration_exclude.model_mailing_contact
|
||||
msgid "Mailing Contact"
|
||||
msgstr ""
|
||||
msgstr "Contatto Mass Mailing"
|
||||
|
||||
#. module: mass_mailing_event_registration_exclude
|
||||
#: model:ir.model,name:mass_mailing_event_registration_exclude.model_mailing_mailing
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 13.0\n"
|
||||
"Project-Id-Version: Odoo Server 14.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
|
@ -34,7 +34,11 @@ msgid "Created on"
|
|||
msgstr ""
|
||||
|
||||
#. module: mass_mailing_event_registration_exclude
|
||||
#: model:ir.model.fields,field_description:mass_mailing_event_registration_exclude.field_event_registration__display_name
|
||||
#: model:ir.model.fields,field_description:mass_mailing_event_registration_exclude.field_event_registration_state__display_name
|
||||
#: model:ir.model.fields,field_description:mass_mailing_event_registration_exclude.field_mailing_contact__display_name
|
||||
#: model:ir.model.fields,field_description:mass_mailing_event_registration_exclude.field_mailing_mailing__display_name
|
||||
#: model:ir.model.fields,field_description:mass_mailing_event_registration_exclude.field_res_partner__display_name
|
||||
msgid "Display Name"
|
||||
msgstr ""
|
||||
|
||||
|
@ -59,12 +63,20 @@ msgid "Exclude"
|
|||
msgstr ""
|
||||
|
||||
#. module: mass_mailing_event_registration_exclude
|
||||
#: model:ir.model.fields,field_description:mass_mailing_event_registration_exclude.field_event_registration__id
|
||||
#: model:ir.model.fields,field_description:mass_mailing_event_registration_exclude.field_event_registration_state__id
|
||||
#: model:ir.model.fields,field_description:mass_mailing_event_registration_exclude.field_mailing_contact__id
|
||||
#: model:ir.model.fields,field_description:mass_mailing_event_registration_exclude.field_mailing_mailing__id
|
||||
#: model:ir.model.fields,field_description:mass_mailing_event_registration_exclude.field_res_partner__id
|
||||
msgid "ID"
|
||||
msgstr ""
|
||||
|
||||
#. module: mass_mailing_event_registration_exclude
|
||||
#: model:ir.model.fields,field_description:mass_mailing_event_registration_exclude.field_event_registration____last_update
|
||||
#: model:ir.model.fields,field_description:mass_mailing_event_registration_exclude.field_event_registration_state____last_update
|
||||
#: model:ir.model.fields,field_description:mass_mailing_event_registration_exclude.field_mailing_contact____last_update
|
||||
#: model:ir.model.fields,field_description:mass_mailing_event_registration_exclude.field_mailing_mailing____last_update
|
||||
#: model:ir.model.fields,field_description:mass_mailing_event_registration_exclude.field_res_partner____last_update
|
||||
msgid "Last Modified on"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -367,7 +367,7 @@ ul.auto-toc {
|
|||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/social/tree/13.0/mass_mailing_event_registration_exclude"><img alt="OCA/social" src="https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/social-13-0/social-13-0-mass_mailing_event_registration_exclude"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/205/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
|
||||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/social/tree/14.0/mass_mailing_event_registration_exclude"><img alt="OCA/social" src="https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/social-14-0/social-14-0-mass_mailing_event_registration_exclude"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/205/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
|
||||
<p>This module links <tt class="docutils literal">mass_mailing</tt> with <tt class="docutils literal">event</tt> in order to exclude
|
||||
recipients that are already registered, confirmed, cancelled, attended, or a
|
||||
combination of these states, when the mass mailing is sent.</p>
|
||||
|
@ -405,7 +405,7 @@ event yet.</p>
|
|||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/social/issues">GitHub Issues</a>.
|
||||
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
|
||||
<a class="reference external" href="https://github.com/OCA/social/issues/new?body=module:%20mass_mailing_event_registration_exclude%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||
<a class="reference external" href="https://github.com/OCA/social/issues/new?body=module:%20mass_mailing_event_registration_exclude%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
||||
</div>
|
||||
<div class="section" id="credits">
|
||||
|
@ -437,7 +437,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
|
|||
<p>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.</p>
|
||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/social/tree/13.0/mass_mailing_event_registration_exclude">OCA/social</a> project on GitHub.</p>
|
||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/social/tree/14.0/mass_mailing_event_registration_exclude">OCA/social</a> project on GitHub.</p>
|
||||
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -3,15 +3,16 @@
|
|||
# Copyright 2020 Tecnativa - Alexandre D. Díaz
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo.tests.common import SavepointCase, at_install, post_install
|
||||
from odoo.tests.common import SavepointCase
|
||||
|
||||
|
||||
@at_install(False)
|
||||
@post_install(True)
|
||||
class TestMassMailingEventRegistrationExclude(SavepointCase):
|
||||
at_install = False
|
||||
post_install = True
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super(TestMassMailingEventRegistrationExclude, cls).setUpClass()
|
||||
super().setUpClass()
|
||||
cls.event = cls.env["event.event"].create(
|
||||
{
|
||||
"name": "Test event",
|
||||
|
@ -56,7 +57,9 @@ class TestMassMailingEventRegistrationExclude(SavepointCase):
|
|||
{
|
||||
"name": "Test subject",
|
||||
"email_from": "from@example.com",
|
||||
"mailing_model_id": self.env["ir.model"]._get("mailing.contact").id,
|
||||
"mailing_model_id": self.env.ref(
|
||||
"mass_mailing.model_mailing_contact"
|
||||
).id,
|
||||
"mailing_domain": str(domain),
|
||||
"contact_list_ids": [(6, 0, [self.contact_list.id])],
|
||||
"body_html": "<p>Test email body</p>",
|
||||
|
@ -100,7 +103,7 @@ class TestMassMailingEventRegistrationExclude(SavepointCase):
|
|||
{
|
||||
"name": "Test subject",
|
||||
"email_from": "from@example.com",
|
||||
"mailing_model_id": self.env["ir.model"]._get("res.partner").id,
|
||||
"mailing_model_id": self.env.ref("base.model_res_partner").id,
|
||||
"mailing_domain": str(domain),
|
||||
"body_html": "<p>Test email body</p>",
|
||||
"reply_to_mode": "email",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com>
|
||||
<!-- Copyright 2016 Tecnativa - Antonio Espinosa
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||
<odoo>
|
||||
|
||||
|
|
Loading…
Reference in New Issue