Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
2325791
[UPD] Update mail_gateway_whatsapp.pot
Mar 2, 2026
4ade4f8
Translated using Weblate (Italian)
mymage Mar 2, 2026
1a0b388
[ADD] mail_activity_cancel_tracking: New module
victoralmau Feb 18, 2025
8b8291c
Added translation using Weblate (Italian)
mymage Feb 20, 2025
5d2dba4
[OU-ADD] mail_activity_cancel_tracking: Remove noupdate=1 records fro…
victoralmau Feb 21, 2025
cddbeb8
[FIX] mail_activity_cancel_tracking: Allow to delete a record (with a…
victoralmau Mar 3, 2025
33d3885
[MIG] mail_activity_cancel_tracking: Migration to 18.0
cristina-hidalgo-tecnativa Jan 30, 2026
7920734
Use the existing template to process imported data.
bartacruz Mar 25, 2026
32ab04c
[ADD] telegram_base: Telegram Bot Integration
Mar 13, 2026
7f3a178
[FIX] telegram_base: apply OCA formatting and manifest fixes
Mar 13, 2026
9950f06
[FIX] telegram_base: Fixed added the depencency on mail_gateway
Mar 25, 2026
e14fc41
[FIX] telegram_base: Fixed Pre-Commit
Mar 25, 2026
44c57c9
[ADD] mail_gateway_telegram_standalone: Changed name to Telegram Stan…
Mar 26, 2026
bab0741
[FIX] mail_gateway_telegram_standalone: Fixed Pre-Commit
Mar 26, 2026
2813006
Added translation using Weblate (Italian)
mymage Mar 31, 2026
5e8bdbe
Translated using Weblate (Italian)
mymage Mar 31, 2026
9c7ff7a
[18.0][FIX] mail_gateway_whatsapp: Mark incomming audios as voice.
bartacruz Mar 28, 2026
1fd6f50
[ADD][fetchmail_thread_default] Default thread for incoming mails
yajo Mar 23, 2017
88f2181
[9.0][FIX] fetchmail_thread_default: check model in env for update mo…
sergio-teruel Jul 19, 2017
a4c60af
[MIG] fetch_thread_default: Migration to 11.0
chienandalu Dec 3, 2018
52be426
[MIG] fetchmail_thread_default: Migration to 12.0
Rad0van Jun 18, 2020
4fb1e15
[MIG] fetchmail_thread_default: Migration to 13.0
Rad0van Jul 23, 2020
31e2ef8
[MIG] [14.0] fetchmail_thread_default
gfcapalbo Jun 16, 2023
7ad7119
Translated using Weblate (Italian)
mymage Feb 26, 2024
1632849
[MIG] fetchmail_thread_default: Migration to 16.0
ntsirintanis Mar 8, 2024
f1f3262
Translated using Weblate (Italian)
mymage Mar 21, 2024
1091358
Translated using Weblate (Portuguese (Brazil))
May 22, 2024
c50380a
[16.0][FIX] fetchmail_thread_default, add sudo call to models without…
ChrisOForgeFlow Jul 10, 2024
2ff8922
Translated using Weblate (Italian)
mymage Oct 15, 2025
a80f921
[IMP] fetchmail_thread_default: pre-commit auto fixes
kaynnan Mar 22, 2026
9312d64
[MIG] fetchmail_thread_default: Migration to 18.0
kaynnan Mar 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
[mail_activity_cancel_tracking](mail_activity_cancel_tracking/) | 18.0.1.0.0 | <a href='https://github.com/victoralmau'><img src='https://github.com/victoralmau.png' width='32' height='32' style='border-radius:50%;' alt='victoralmau'/></a> | Mail Activity Cancel Tracking
[mail_activity_unlink_log](mail_activity_unlink_log/) | 18.0.1.0.0 | | Leave a message when an activity is unlinked
[mail_gateway](mail_gateway/) | 18.0.1.0.7 | | Base module for gateway communications
[mail_gateway_telegram](mail_gateway_telegram/) | 18.0.1.0.0 | | Set a gateway for telegram
[mail_gateway_whatsapp](mail_gateway_whatsapp/) | 18.0.2.0.0 | | Set a gateway for whatsapp
[mail_gateway_telegram_standalone](mail_gateway_telegram_standalone/) | 18.0.1.0.0 | | Generic Telegram API connector
[mail_gateway_whatsapp](mail_gateway_whatsapp/) | 18.0.2.1.2 | | Set a gateway for WhatsApp
[mail_notification_with_history](mail_notification_with_history/) | 18.0.1.0.0 | <a href='https://github.com/TDu'><img src='https://github.com/TDu.png' width='32' height='32' style='border-radius:50%;' alt='TDu'/></a> | Add the previous chatter discussion into new email notifications.
[mail_thread_create_nolog](mail_thread_create_nolog/) | 18.0.1.0.2 | <a href='https://github.com/sebalix'><img src='https://github.com/sebalix.png' width='32' height='32' style='border-radius:50%;' alt='sebalix'/></a> | Display a fake (non-stored) create log in the chatter.
[res_company_mastodon_link](res_company_mastodon_link/) | 18.0.1.0.0 | <a href='https://github.com/legalsylvain'><img src='https://github.com/legalsylvain.png' width='32' height='32' style='border-radius:50%;' alt='legalsylvain'/></a> | Add mastodon url at company model
Expand Down
1 change: 1 addition & 0 deletions checklog-odoo.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[checklog-odoo]
ignore=
WARNING.* 0 failed, 0 error\(s\).*
WARNING.* Missing widget: res_partner_many2one for field of type many2one.*
126 changes: 126 additions & 0 deletions fetchmail_thread_default/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
===================================
Default Thread For Unbounded Emails
===================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:f056776d2194bdb21347c6400e998887bbe47eec12ae15982b0312d7cf3f4148
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github
:target: https://github.com/OCA/social/tree/18.0/fetchmail_thread_default
:alt: OCA/social
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/social-18-0/social-18-0-fetchmail_thread_default
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

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.

**Table of contents**

.. contents::
:local:

Configuration
=============

To configure this module, you need to:

1. Go to *Settings > General Settings > Configure the incoming email
gateway*.

2. Create or edit a record.

3. Configure properly.

4. Under *Default mail thread*, choose a model and record.

Tip: if you do not know what to choose, we suggest you to use a mail
channel.

Usage
=====

To use this module, you need to:

1. Subscribe to the thread you chose as the *Default mail thread*.
2. You will be notified when a new unbound email lands in that thread.
3. Do what you want with it.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/social/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/social/issues/new?body=module:%20fetchmail_thread_default%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Tecnativa
* Therp BV

Contributors
------------

- `Tecnativa <https://www.tecnativa.com>`__:

- Jairo Llopis
- David Vidal

- `Therp BV <https://www.therp.nl>`__:

- Giovanni Francesco Capalbo

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/social <https://github.com/OCA/social/tree/18.0/fetchmail_thread_default>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions fetchmail_thread_default/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
17 changes: 17 additions & 0 deletions fetchmail_thread_default/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2017 Tecnativa - Jairo Llopis <jairo.llopis@tecnativa.com>
# 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": "18.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": ["mail"],
"data": ["views/fetchmail_server_view.xml"],
"demo": ["demo/data.xml"],
}
20 changes: 20 additions & 0 deletions fetchmail_thread_default/demo/data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2017 Tecnativa - Jairo Llopis <jairo.llopis@tecnativa.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="demo_sink" model="discuss.channel">
<field name="name">mailsink</field>
<field name="description">Unbounded email sink</field>
<field name="group_ids" eval="[(4, ref('base.group_user'))]" />
</record>

<record id="demo_server" model="fetchmail.server">
<field name="name">Demo server</field>
<field name="server_type">pop</field>
<field name="server">pop3.example.com</field>
<field
name="default_thread_id"
eval="'discuss.channel,%d' % ref('demo_sink')"
/>
</record>
</odoo>
Empty file.
43 changes: 43 additions & 0 deletions fetchmail_thread_default/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * fetchmail_thread_default
#
# Translators:
# Marc Tormo i Bochaca <mtbochaca@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-10 02:46+0000\n"
"PO-Revision-Date: 2017-06-10 02:46+0000\n"
"Last-Translator: Marc Tormo i Bochaca <mtbochaca@gmail.com>, 2017\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: fetchmail_thread_default
#: model:ir.model.fields,field_description:fetchmail_thread_default.field_fetchmail_server__default_thread_id
msgid "Default mail thread"
msgstr ""

#. module: fetchmail_thread_default
#: model:ir.model,name:fetchmail_thread_default.model_mail_thread
msgid "Email Thread"
msgstr "Tema del Correu electrònic "

#. module: fetchmail_thread_default
#: model:ir.model,name:fetchmail_thread_default.model_fetchmail_server
msgid "Incoming Mail Server"
msgstr ""

#. module: fetchmail_thread_default
#: model:ir.model.fields,help:fetchmail_thread_default.field_fetchmail_server__default_thread_id
msgid ""
"Messages with no clear route will be posted as a new message to this thread."
msgstr ""

#~ msgid "POP/IMAP Server"
#~ msgstr "Servidor POP/IMAP"
44 changes: 44 additions & 0 deletions fetchmail_thread_default/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * fetchmail_thread_default
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
# Rudolf Schnapka <rs@techno-flex.de>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-10 02:46+0000\n"
"PO-Revision-Date: 2017-06-10 02:46+0000\n"
"Last-Translator: Rudolf Schnapka <rs@techno-flex.de>, 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: fetchmail_thread_default
#: model:ir.model.fields,field_description:fetchmail_thread_default.field_fetchmail_server__default_thread_id
msgid "Default mail thread"
msgstr ""

#. module: fetchmail_thread_default
#: model:ir.model,name:fetchmail_thread_default.model_mail_thread
msgid "Email Thread"
msgstr "Email-Thread"

#. module: fetchmail_thread_default
#: model:ir.model,name:fetchmail_thread_default.model_fetchmail_server
msgid "Incoming Mail Server"
msgstr ""

#. module: fetchmail_thread_default
#: model:ir.model.fields,help:fetchmail_thread_default.field_fetchmail_server__default_thread_id
msgid ""
"Messages with no clear route will be posted as a new message to this thread."
msgstr ""

#~ msgid "POP/IMAP Server"
#~ msgstr "POP/IMAP-Server"
44 changes: 44 additions & 0 deletions fetchmail_thread_default/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * fetchmail_thread_default
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
# Pedro M. Baeza <pedro.baeza@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-10 02:46+0000\n"
"PO-Revision-Date: 2017-06-10 02:46+0000\n"
"Last-Translator: Pedro M. Baeza <pedro.baeza@gmail.com>, 2017\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: fetchmail_thread_default
#: model:ir.model.fields,field_description:fetchmail_thread_default.field_fetchmail_server__default_thread_id
msgid "Default mail thread"
msgstr ""

#. module: fetchmail_thread_default
#: model:ir.model,name:fetchmail_thread_default.model_mail_thread
msgid "Email Thread"
msgstr "Hilo de mensajes"

#. module: fetchmail_thread_default
#: model:ir.model,name:fetchmail_thread_default.model_fetchmail_server
msgid "Incoming Mail Server"
msgstr ""

#. module: fetchmail_thread_default
#: model:ir.model.fields,help:fetchmail_thread_default.field_fetchmail_server__default_thread_id
msgid ""
"Messages with no clear route will be posted as a new message to this thread."
msgstr ""

#~ msgid "POP/IMAP Server"
#~ msgstr "Servidor POP/IMP"
35 changes: 35 additions & 0 deletions fetchmail_thread_default/i18n/fetchmail_thread_default.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * fetchmail_thread_default
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: fetchmail_thread_default
#: model:ir.model.fields,field_description:fetchmail_thread_default.field_fetchmail_server__default_thread_id
msgid "Default mail thread"
msgstr ""

#. module: fetchmail_thread_default
#: model:ir.model,name:fetchmail_thread_default.model_mail_thread
msgid "Email Thread"
msgstr ""

#. module: fetchmail_thread_default
#: model:ir.model,name:fetchmail_thread_default.model_fetchmail_server
msgid "Incoming Mail Server"
msgstr ""

#. module: fetchmail_thread_default
#: model:ir.model.fields,help:fetchmail_thread_default.field_fetchmail_server__default_thread_id
msgid ""
"Messages with no clear route will be posted as a new message to this thread."
msgstr ""
Loading
Loading