[MIG] mass_mailing_list_dynamic: Migration to 14.0

TT32133
pull/1089/head
Víctor Martínez 2021-10-05 12:50:04 +02:00 committed by Pedro M. Baeza
parent d2be1607a4
commit 9525c404fe
60 changed files with 43 additions and 182 deletions

View File

@ -14,13 +14,13 @@ Dynamic Mass Mailing Lists
: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_list_dynamic
:target: https://github.com/OCA/social/tree/14.0/mass_mailing_list_dynamic
: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_list_dynamic
:target: https://translation.odoo-community.org/projects/social-14-0/social-14-0-mass_mailing_list_dynamic
: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|
@ -88,7 +88,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_list_dynamic%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_list_dynamic%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.
@ -128,6 +128,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_list_dynamic>`_ project on GitHub.
This module is part of the `OCA/social <https://github.com/OCA/social/tree/14.0/mass_mailing_list_dynamic>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@ -5,7 +5,7 @@
{
"name": "Dynamic Mass Mailing Lists",
"summary": "Mass mailing lists that get autopopulated",
"version": "13.0.1.0.1",
"version": "14.0.1.0.0",
"category": "Marketing",
"website": "https://github.com/OCA/social",
"author": "Tecnativa, Odoo Community Association (OCA)",
@ -14,7 +14,8 @@
"installable": True,
"depends": ["mass_mailing_partner"],
"data": [
# This should go first
"security/ir.model.access.csv",
# This should go before "mailing_list_view.xml"
"wizards/mailing_load_filter_views.xml",
"views/mailing_list_view.xml",
],

View File

@ -184,6 +184,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "ተባባሪ"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "الشريك"

View File

@ -184,6 +184,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Партньор"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partner"

View File

@ -186,6 +186,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Empresa"

View File

@ -184,6 +184,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Společník"

View File

@ -184,6 +184,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partner"

View File

@ -186,6 +186,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partner"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Συνεργάτης"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partner"

View File

@ -189,6 +189,3 @@ msgstr "Sincronizar ahora"
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr "Criterio de sincronización"
#~ msgid "Partner"
#~ msgstr "Empresa"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Empresa"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Empresa"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Compañero"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Empresa"

View File

@ -184,6 +184,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partner"

View File

@ -184,6 +184,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Kidea"

View File

@ -184,6 +184,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Kumppani"

View File

@ -186,6 +186,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partenaire"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partenaire"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partenaire"

View File

@ -184,6 +184,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Empresa"

View File

@ -187,6 +187,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partner"

View File

@ -186,6 +186,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partner"

View File

@ -184,6 +184,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partner"

View File

@ -186,6 +186,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partner"

View File

@ -184,6 +184,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "パートナ"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partneris"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partneris"

View File

@ -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"
@ -68,7 +68,12 @@ msgid "Created on"
msgstr ""
#. module: mass_mailing_list_dynamic
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_base_partner_merge_automatic_wizard__display_name
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_contact__display_name
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__display_name
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_load_filter__display_name
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_mailing__display_name
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_res_partner__display_name
msgid "Display Name"
msgstr ""
@ -98,7 +103,12 @@ msgid "Helper field to make the user aware of unsynced changes"
msgstr ""
#. module: mass_mailing_list_dynamic
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_base_partner_merge_automatic_wizard__id
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_contact__id
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__id
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_load_filter__id
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_mailing__id
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_res_partner__id
msgid "ID"
msgstr ""
@ -108,7 +118,12 @@ msgid "Is Synced"
msgstr ""
#. module: mass_mailing_list_dynamic
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_base_partner_merge_automatic_wizard____last_update
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_contact____last_update
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list____last_update
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_load_filter____last_update
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_mailing____last_update
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_res_partner____last_update
msgid "Last Modified on"
msgstr ""

View File

@ -184,6 +184,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Партнер"

View File

@ -184,6 +184,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Харилцагч"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partner"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partner"

View File

@ -184,6 +184,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Relatie"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Relatie"

View File

@ -186,6 +186,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partner"

View File

@ -186,6 +186,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partner"

View File

@ -187,6 +187,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Parceiro"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Parceiro"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Parceiro"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partener"

View File

@ -186,6 +186,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Контрагент"

View File

@ -184,6 +184,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partner"

View File

@ -187,6 +187,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partner"

View File

@ -186,6 +186,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Partner"

View File

@ -184,6 +184,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Företag"

View File

@ -184,6 +184,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "พาร์ทเนอร์"

View File

@ -184,6 +184,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "İş Ortağı"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Ortak"

View File

@ -184,6 +184,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "Đối tác"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "业务伙伴"

View File

@ -185,6 +185,3 @@ msgstr ""
#: model:ir.model.fields,field_description:mass_mailing_list_dynamic.field_mailing_list__sync_domain
msgid "Synchronization critera"
msgstr ""
#~ msgid "Partner"
#~ msgstr "夥伴"

View File

@ -3,7 +3,7 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo import api, fields, models
from odoo.tools import safe_eval
from odoo.tools.safe_eval import safe_eval
class MassMailingList(models.Model):
@ -14,7 +14,10 @@ class MassMailingList(models.Model):
"partners from a given criteria."
)
sync_method = fields.Selection(
[("add", "Only add new records"), ("full", "Add and remove records as needed")],
selection=[
("add", "Only add new records"),
("full", "Add and remove records as needed"),
],
default="add",
required=True,
help="Choose the syncronization method for this list if you want to "

View File

@ -0,0 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_mailing_load_filter,access_mailing_load_filter,model_mailing_load_filter,mass_mailing.group_mass_mailing_user,1,1,1,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_mailing_load_filter access_mailing_load_filter model_mailing_load_filter mass_mailing.group_mass_mailing_user 1 1 1 0

View File

@ -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_list_dynamic"><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_list_dynamic"><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_list_dynamic"><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_list_dynamic"><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>Without this addon you have to choose between providing a dynamic domain and
letting your mass mailings reach all partners that match it.</p>
<p>This addon allows you to create dynamic mailing lists, so you can now benefit
@ -436,7 +436,7 @@ list.</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_list_dynamic%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_list_dynamic%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">
@ -471,7 +471,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_list_dynamic">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_list_dynamic">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>

View File

@ -2,19 +2,18 @@
# Copyright 2020 Hibou Corp. - Jared Kipe
# Copyright 2021 Tecnativa - Víctor Martínez
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from mock import patch
from odoo.exceptions import ValidationError
from odoo.tests import common
@common.at_install(False)
@common.post_install(True)
class DynamicListCase(common.SavepointCase):
post_install = True
@classmethod
def setUpClass(cls):
super(DynamicListCase, cls).setUpClass()
super().setUpClass()
cls.tag = cls.env["res.partner.category"].create({"name": "testing tag"})
cls.partners = cls.env["res.partner"]
for number in range(5):
@ -39,7 +38,6 @@ class DynamicListCase(common.SavepointCase):
"contact_list_ids": [(4, cls.list.id, False)],
}
)
cls.mail._onchange_model_and_list()
def test_list_sync(self):
"""List is synced correctly."""

View File

@ -18,12 +18,10 @@
</field>
</record>
<act_window
id="action_mailing_load_filter"
name="Load filter"
res_model="mailing.load.filter"
target="new"
view_mode="form"
/>
<record id="action_mailing_load_filter" model="ir.actions.act_window">
<field name="name">Load filter</field>
<field name="res_model">mailing.load.filter</field>
<field name="target">new</field>
<field name="view_mode">form</field>
</record>
</odoo>