Browse Source

[MIG] mass_mailing_unique: Migration to 10.0

pull/173/head
Pedro M. Baeza 7 years ago
committed by Jairo Llopis
parent
commit
7152fac701
  1. 2
      mass_mailing_unique/README.rst
  2. 5
      mass_mailing_unique/__manifest__.py
  3. 4
      mass_mailing_unique/hooks.py
  4. 2
      mass_mailing_unique/models/mass_mailing.py
  5. 4
      mass_mailing_unique/tests/test_mass_mailing_unique.py

2
mass_mailing_unique/README.rst

@ -29,7 +29,7 @@ duplicated email inside one. You will not can.
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot :alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/205/9.0
:target: https://runbot.odoo-community.org/runbot/205/10.0
Bug Tracker Bug Tracker
=========== ===========

5
mass_mailing_unique/__openerp__.py → mass_mailing_unique/__manifest__.py

@ -6,11 +6,10 @@
{ {
"name": "Unique records for mass mailing", "name": "Unique records for mass mailing",
"summary": "Avoids duplicate mailing lists and contacts", "summary": "Avoids duplicate mailing lists and contacts",
"version": "9.0.1.0.0",
"version": "10.0.1.0.0",
"category": "Marketing", "category": "Marketing",
"website": "https://tecnativa.com", "website": "https://tecnativa.com",
"author": "Grupo ESOC Ingeniería de Servicios,"
"Tecnativa, "
"author": "Tecnativa, "
"Odoo Community Association (OCA)", "Odoo Community Association (OCA)",
"license": "AGPL-3", "license": "AGPL-3",
"application": False, "application": False,

4
mass_mailing_unique/hooks.py

@ -4,8 +4,8 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import _
from openerp.exceptions import ValidationError
from odoo import _
from odoo.exceptions import ValidationError
def pre_init_hook(cr): def pre_init_hook(cr):

2
mass_mailing_unique/models/mass_mailing.py

@ -4,7 +4,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import models
from odoo import models
class MailMassMailingContact(models.Model): class MailMassMailingContact(models.Model):

4
mass_mailing_unique/tests/test_mass_mailing_unique.py

@ -2,8 +2,8 @@
# Copyright 2016 Tecnativa - Pedro M. Baeza # Copyright 2016 Tecnativa - Pedro M. Baeza
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp.tests import common
from openerp import exceptions
from odoo.tests import common
from odoo import exceptions
from ..hooks import pre_init_hook from ..hooks import pre_init_hook

Loading…
Cancel
Save