|
|
@ -1,24 +1,24 @@ |
|
|
|
# -*- coding: utf-8 -*- |
|
|
|
############################################################################## |
|
|
|
# |
|
|
|
# This file is part of mail_attach_attachment, |
|
|
|
# This file is part of mail_attach_existing_attachment, |
|
|
|
# an Odoo module. |
|
|
|
# |
|
|
|
# Copyright (c) 2015 ACSONE SA/NV (<http://acsone.eu>) |
|
|
|
# |
|
|
|
# mail_attach_attachment is free software: |
|
|
|
# mail_attach_existing_attachment is free software: |
|
|
|
# you can redistribute it and/or modify it under the terms of the GNU |
|
|
|
# Affero General Public License as published by the Free Software |
|
|
|
# Foundation,either version 3 of the License, or (at your option) any |
|
|
|
# later version. |
|
|
|
# |
|
|
|
# mail_attach_attachment is distributed |
|
|
|
# mail_attach_existing_attachment is distributed |
|
|
|
# in the hope that it will be useful, but WITHOUT ANY WARRANTY; without |
|
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
|
|
|
# PURPOSE. See the GNU Affero General Public License for more details. |
|
|
|
# |
|
|
|
# You should have received a copy of the GNU Affero General Public License |
|
|
|
# along with mail_attach_attachment. |
|
|
|
# along with mail_attach_existing_attachment. |
|
|
|
# If not, see <http://www.gnu.org/licenses/>. |
|
|
|
# |
|
|
|
############################################################################## |
|
|
@ -26,10 +26,10 @@ |
|
|
|
from openerp.tests import common |
|
|
|
|
|
|
|
|
|
|
|
class TestAttachAttachment(common.TransactionCase): |
|
|
|
class TestAttachExistingAttachment(common.TransactionCase): |
|
|
|
|
|
|
|
def setUp(self): |
|
|
|
super(TestAttachAttachment, self).setUp() |
|
|
|
super(TestAttachExistingAttachment, self).setUp() |
|
|
|
self.partner_obj = self.env['res.partner'] |
|
|
|
self.partner_01 = self.env.ref('base.res_partner_1') |
|
|
|
|