Repository
OCA/social · module folder · Try on Runboat
Module version
1.0.0
Category
Discuss
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/social
Last tracking update
2026-08-07 08:42:59
Authors
Odoo Community Association (OCA), Therp BV, Tecnativa
Maintainers
Odoo Community Association (OCA), Therp BV, Tecnativa
Committers
Weblate, OCA-git-bot, oca-ci, Kaynnan
Odoo dependencies
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None
Description
This module extends the functionality of mail fetching to support
choosing a mail thread that acts as a mail sink and gathers all mail
messages that Odoo does not know where to put.

Dangling emails are really a problem because if you do not care about
them, SPAM can enter your inbox and keep increasing fetchmail process
network quota because Odoo would gather them every time it runs the
fetchmail process.

Before this, your only choice was to create a new record for those
unbounded emails. That could be useful under some circumstances, like
creating a `crm.lead` for them, but what happens if you do not want to
have lots of spammy leads? Or if you do not need Odoo's CRM at all?

Here we come to the rescue. This simple addons adds almost none
dependencies and allows you to direct those mails somewhere you can
handle or ignore at wish.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_email_server_form Add default thread fetchmail.server form Inherits mail.view_email_server_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (1)
  • default_thread_id Reference
    help='Messages with no clear route will be posted as a new message to this thread.' selection='_get_thread_models' string='Default mail thread'
Public methods (1)
  • onchange_server_type(self)
    @api.onchange('server_type', 'is_ssl', 'object_id')
    Remove :attr:`default_thread_id` if there is :attr:`object_id`.

New fields (0)

No new fields.

Public methods (1)
  • message_process(self, model, message, custom_values=None, save_original=False, strip_attachments=False, thread_id=None)
    @api.model

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
92 days ago
Last activity
92 days ago
Repository
OCA/social
Pull request
[10.0][MIG] fetchmail_thread_default (#1862)
Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
15 days ago
Last activity
9 days ago
Repository
OCA/social
Pull request
[19.0][MIG] fetchmail_thread_default (#1898)