mirror of https://github.com/OCA/social.git
[MIG] mail_attach_existing_attachment: Migration to 11.0
parent
32d09270cb
commit
01ea4f9660
|
@ -31,7 +31,7 @@ To configure this module, you need to:
|
||||||
|
|
||||||
.. 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/10.0
|
:target: https://runbot.odoo-community.org/runbot/205/11.0
|
||||||
|
|
||||||
Known issues / Roadmap
|
Known issues / Roadmap
|
||||||
======================
|
======================
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
from . import wizard
|
from . import wizard
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
#
|
#
|
||||||
# This file is part of mail_attach_existing_attachment,
|
# This file is part of mail_attach_existing_attachment,
|
||||||
|
@ -31,7 +30,7 @@
|
||||||
"Odoo Community Association (OCA)",
|
"Odoo Community Association (OCA)",
|
||||||
'website': "http://acsone.eu",
|
'website': "http://acsone.eu",
|
||||||
'category': 'Social Network',
|
'category': 'Social Network',
|
||||||
'version': '10.0.1.0.0',
|
'version': '11.0.1.0.0',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'depends': [
|
'depends': [
|
||||||
'mail',
|
'mail',
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
from . import test_mail_attach_existing_attachment
|
from . import test_mail_attach_existing_attachment
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
#
|
#
|
||||||
# This file is part of mail_attach_existing_attachment,
|
# This file is part of mail_attach_existing_attachment,
|
||||||
|
@ -23,7 +22,7 @@
|
||||||
#
|
#
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
from openerp.tests import common
|
from odoo.tests import common
|
||||||
|
|
||||||
|
|
||||||
class TestAttachExistingAttachment(common.TransactionCase):
|
class TestAttachExistingAttachment(common.TransactionCase):
|
||||||
|
@ -31,7 +30,12 @@ class TestAttachExistingAttachment(common.TransactionCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
super(TestAttachExistingAttachment, self).setUp()
|
super(TestAttachExistingAttachment, self).setUp()
|
||||||
self.partner_obj = self.env['res.partner']
|
self.partner_obj = self.env['res.partner']
|
||||||
self.partner_01 = self.env.ref('base.res_partner_1')
|
self.partner_01 = self.env['res.partner'].create({
|
||||||
|
'name': 'Partner 1',
|
||||||
|
'email': 'partner1@example.org',
|
||||||
|
'is_company': True,
|
||||||
|
'parent_id': False,
|
||||||
|
})
|
||||||
|
|
||||||
def test_send_email_attachment(self):
|
def test_send_email_attachment(self):
|
||||||
attach1 = self.env['ir.attachment'].create({
|
attach1 = self.env['ir.attachment'].create({
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
from . import mail_compose_message
|
from . import mail_compose_message
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
#
|
#
|
||||||
# This file is part of mail_attach_existing_attachment,
|
# This file is part of mail_attach_existing_attachment,
|
||||||
|
|
Loading…
Reference in New Issue