-
-
Notifications
You must be signed in to change notification settings - Fork 636
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] fetchmail_thread_default: Migration to 16.0
- Loading branch information
1 parent
d8349ec
commit 09c6748
Showing
6 changed files
with
19 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# Copyright 2017 Tecnativa - Jairo Llopis <[email protected]> | ||
# Copyright 2023 Therp BV <https://therp.nl> | ||
# Copyright 2023-24 Therp BV <https://therp.nl> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
{ | ||
"name": "Default Thread For Unbounded Emails", | ||
"summary": "Post unkonwn messages to an existing thread", | ||
"version": "14.0.1.0.0", | ||
"version": "16.0.1.0.0", | ||
"category": "Discuss", | ||
"website": "https://github.com/OCA/social", | ||
"author": "Tecnativa, Therp BV, Odoo Community Association (OCA)", | ||
"license": "AGPL-3", | ||
"application": False, | ||
"installable": True, | ||
"depends": ["fetchmail"], | ||
"depends": ["mail"], | ||
"data": ["views/fetchmail_server_view.xml"], | ||
"demo": ["demo/data.xml"], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
# Copyright 2017 Tecnativa - Jairo Llopis <[email protected]> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from odoo.tests.common import SavepointCase | ||
from odoo.tests.common import TransactionCase | ||
from odoo.tools import mute_logger | ||
|
||
from odoo.addons.test_mail.tests.test_mail_gateway import MAIL_TEMPLATE | ||
|
||
|
||
class FetchmailCase(SavepointCase): | ||
class FetchmailCase(TransactionCase): | ||
@classmethod | ||
def setUpClass(cls): | ||
super(FetchmailCase, cls).setUpClass() | ||
super().setUpClass() | ||
cls.server = cls.env.ref("fetchmail_thread_default.demo_server") | ||
cls.sink = cls.env.ref("fetchmail_thread_default.demo_sink") | ||
cls.MailThread = cls.env["mail.thread"] | ||
|
@@ -41,6 +41,7 @@ def test_unbound_incoming_email(self): | |
).message_process( | ||
self.server.object_id.model, | ||
MAIL_TEMPLATE.format( | ||
return_path="[email protected]", | ||
email_from="[email protected]", | ||
to="[email protected]", | ||
cc="[email protected]", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters