Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] fetchmail_thread_default #1329

Merged
merged 23 commits into from
Mar 19, 2024
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
df461d7
[ADD][fetchmail_thread_default] Default thread for incoming mails
yajo Mar 23, 2017
96ed453
OCA Transbot updated translations from Transifex
oca-transbot Jun 10, 2017
6f527dd
[9.0][FIX] fetchmail_thread_default: check model in env for update mo…
sergio-teruel Jul 19, 2017
df3f686
[UPD] Update fetchmail_thread_default.pot
oca-travis Jun 24, 2018
59e2b66
[MIG] fetch_thread_default: Migration to 11.0
chienandalu Dec 3, 2018
e2ad842
[UPD] README.rst
OCA-git-bot Dec 4, 2018
502ec0b
[UPD] Update fetchmail_thread_default.pot
oca-travis Dec 4, 2018
6097b11
[UPD] README.rst
OCA-git-bot Jul 29, 2019
f3e3ac7
[MIG] fetchmail_thread_default: Migration to 12.0
Rad0van Jun 18, 2020
72f4d20
[IMP] fetchmail_thread_default: black, isort, prettier
Rad0van Jul 23, 2020
b8e1d08
[MIG] fetchmail_thread_default: Migration to 13.0
Rad0van Jul 23, 2020
16a3377
[UPD] Update fetchmail_thread_default.pot
oca-travis Jul 27, 2020
5b5d03a
Update translation files
oca-transbot Jul 29, 2020
60de032
[IMP] pre-commit run -a
Jan 26, 2021
4dbb626
[IMP] Apply pre-commit changes: Resolve conflicts
Tardo Jan 26, 2021
e3bb886
[MIG] [14.0] fetchmail_thread_default
gfcapalbo Jun 16, 2023
f461ca2
[13.0] Fixed context field get
Ismaw34 Jan 15, 2021
f425338
[UPD] Update fetchmail_thread_default.pot
Feb 12, 2024
93136a5
[BOT] post-merge updates
OCA-git-bot Feb 12, 2024
7377b6a
Update translation files
weblate Feb 12, 2024
e2bfa98
Translated using Weblate (Italian)
mymage Feb 26, 2024
c640ee6
[IMP] fetchmail_thread_default: pre-commit stuff
ntsirintanis Mar 8, 2024
ea37a5e
[MIG] fetchmail_thread_default: Migration to 16.0
ntsirintanis Mar 8, 2024
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
Prev Previous commit
Next Next commit
[MIG] fetchmail_thread_default: Migration to 13.0
Rad0van authored and ntsirintanis committed Mar 19, 2024
commit b8e1d08e52454ac3ed8a2081c5bb55a80e537535
10 changes: 5 additions & 5 deletions fetchmail_thread_default/README.rst
Original file line number Diff line number Diff line change
@@ -14,13 +14,13 @@ Default Thread For Unbounded Emails
: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/12.0/fetchmail_thread_default
:target: https://github.com/OCA/social/tree/13.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-12-0/social-12-0-fetchmail_thread_default
:target: https://translation.odoo-community.org/projects/social-13-0/social-13-0-fetchmail_thread_default
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/205/12.0
:target: https://runbot.odoo-community.org/runbot/205/13.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -75,7 +75,7 @@ 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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/social/issues/new?body=module:%20fetchmail_thread_default%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/social/issues/new?body=module:%20fetchmail_thread_default%0Aversion:%2013.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.

@@ -108,6 +108,6 @@ 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/12.0/fetchmail_thread_default>`_ project on GitHub.
This module is part of the `OCA/social <https://github.com/OCA/social/tree/13.0/fetchmail_thread_default>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 1 addition & 1 deletion fetchmail_thread_default/__manifest__.py
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
{
"name": "Default Thread For Unbounded Emails",
"summary": "Post unkonwn messages to an existing thread",
"version": "12.0.1.0.0",
"version": "13.0.1.0.0",
"category": "Discuss",
"website": "https://www.github.com/social",
"author": "Tecnativa, Odoo Community Association (OCA)",
2 changes: 1 addition & 1 deletion fetchmail_thread_default/demo/data.xml
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@

<record id="demo_server" model="fetchmail.server">
<field name="name">Demo server</field>
<field name="type">pop</field>
<field name="server_type">pop</field>
<field name="server">pop3.example.com</field>
<field name="default_thread_id" eval="'mail.channel,%d' % ref('demo_sink')"/>
<!-- <field name="default_thread_id">mail.channel,%(demo_sink)d</field> -->
5 changes: 2 additions & 3 deletions fetchmail_thread_default/models/fetchmail_server.py
Original file line number Diff line number Diff line change
@@ -30,17 +30,16 @@ def _get_thread_models(self):
return [
(m.model, m.name)
for m in models
if m.model in self.env and getattr(self.env[m.model], "_auto")
if m.model in self.env and self.env[m.model]._auto
]

@api.onchange("type", "is_ssl", "object_id")
@api.onchange("server_type", "is_ssl", "object_id")
def onchange_server_type(self):
"""Remove :attr:`default_thread_id` if there is :attr:`object_id`."""
if self.object_id:
self.default_thread_id = False
return super(FetchmailServer, self).onchange_server_type()

@api.multi
@api.onchange("default_thread_id")
def _onchange_remove_object_id(self):
"""Remove :attr:`object_id` if there is :attr:`default_thread_id`."""
6 changes: 3 additions & 3 deletions fetchmail_thread_default/static/description/index.html
Original file line number Diff line number Diff line change
@@ -367,7 +367,7 @@ <h1 class="title">Default Thread For Unbounded Emails</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/social/tree/12.0/fetchmail_thread_default"><img alt="OCA/social" src="https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/social-12-0/social-12-0-fetchmail_thread_default"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/205/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/social/tree/13.0/fetchmail_thread_default"><img alt="OCA/social" src="https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/social-13-0/social-13-0-fetchmail_thread_default"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/205/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>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.</p>
@@ -425,7 +425,7 @@ <h1><a class="toc-backref" href="#id3">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/social/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/social/issues/new?body=module:%20fetchmail_thread_default%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/social/issues/new?body=module:%20fetchmail_thread_default%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
@@ -453,7 +453,7 @@ <h2><a class="toc-backref" href="#id7">Maintainers</a></h2>
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/social/tree/12.0/fetchmail_thread_default">OCA/social</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/social/tree/13.0/fetchmail_thread_default">OCA/social</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>