Skip to content

Commit 179ac45

Browse files
committed
[MIG] base_search_mail_content: Migration to v18
1 parent 75d11fd commit 179ac45

File tree

6 files changed

+22
-21
lines changed

6 files changed

+22
-21
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Available addons
2020
----------------
2121
addon | version | maintainers | summary
2222
--- | --- | --- | ---
23+
[base_search_mail_content](base_search_mail_content/) | 18.0.1.0.0 | | Base Search Mail Content
2324
[mail_debrand](mail_debrand/) | 18.0.1.0.1 | [![pedrobaeza](https://github.com/pedrobaeza.png?size=30px)](https://github.com/pedrobaeza) [![joao-p-marques](https://github.com/joao-p-marques.png?size=30px)](https://github.com/joao-p-marques) | Remove Odoo branding in sent emails Removes anchor <a href odoo.com togheder with it's parent ( for powerd by) form all the templates removes any 'odoo' that are in tempalte texts > 20characters
2425
[mail_inline_css](mail_inline_css/) | 18.0.1.0.0 | | Convert style tags in inline style in your mails
2526
[mail_layout_preview](mail_layout_preview/) | 18.0.1.0.0 | | Preview email templates in the browser

base_search_mail_content/README.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ Base Search Mail Content
1616
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
1717
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1818
:alt: License: AGPL-3
19-
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github
20-
:target: https://github.com/OCA/social/tree/17.0/base_search_mail_content
21-
:alt: OCA/social
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmail-lightgray.png?logo=github
20+
:target: https://github.com/OCA/mail/tree/18.0/base_search_mail_content
21+
:alt: OCA/mail
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/social-17-0/social-17-0-base_search_mail_content
23+
:target: https://translation.odoo-community.org/projects/mail-18-0/mail-18-0-base_search_mail_content
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=17.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/mail&target_branch=18.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -79,10 +79,10 @@ Known issues / Roadmap
7979
Bug Tracker
8080
===========
8181

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

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

@@ -109,6 +109,7 @@ Contributors
109109
- Ernesto Tejeda
110110

111111
- Nguyen Minh Chien <chien@trobz.com>
112+
- Elliott Bristow <elliott@glo.systems>
112113

113114
Maintainers
114115
-----------
@@ -123,6 +124,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
123124
mission is to support the collaborative development of Odoo features and
124125
promote its widespread use.
125126

126-
This module is part of the `OCA/social <https://github.com/OCA/social/tree/17.0/base_search_mail_content>`_ project on GitHub.
127+
This module is part of the `OCA/mail <https://github.com/OCA/mail/tree/18.0/base_search_mail_content>`_ project on GitHub.
127128

128129
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

base_search_mail_content/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
{
88
"name": "Base Search Mail Content",
9-
"version": "17.0.1.1.0",
9+
"version": "18.0.1.0.0",
1010
"author": "ForgeFlow, SerpentCS, Tecnativa, Odoo Community Association (OCA)",
1111
"website": "https://github.com/OCA/social",
1212
"category": "Social",

base_search_mail_content/readme/CONTRIBUTORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
- Vicent Cubells
77
- Ernesto Tejeda
88
- Nguyen Minh Chien \<<chien@trobz.com>\>
9+
- Elliott Bristow \<<elliott@glo.systems>\>

base_search_mail_content/static/description/index.html

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@
88

99
/*
1010
:Author: David Goodger (goodger@python.org)
11-
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
11+
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
1212
:Copyright: This stylesheet has been placed in the public domain.
1313
1414
Default cascading style sheet for the HTML output of Docutils.
15-
Despite the name, some widely supported CSS2 features are used.
1615
1716
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1817
customize this style sheet.
@@ -275,7 +274,7 @@
275274
margin-left: 2em ;
276275
margin-right: 2em }
277276

278-
pre.code .ln { color: gray; } /* line numbers */
277+
pre.code .ln { color: grey; } /* line numbers */
279278
pre.code, code { background-color: #eeeeee }
280279
pre.code .comment, code .comment { color: #5C6576 }
281280
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -301,7 +300,7 @@
301300
span.pre {
302301
white-space: pre }
303302

304-
span.problematic, pre.problematic {
303+
span.problematic {
305304
color: red }
306305

307306
span.section-subtitle {
@@ -369,7 +368,7 @@ <h1 class="title">Base Search Mail Content</h1>
369368
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370369
!! source digest: sha256:4d7bb08b0b6068e9eece2b351ba2695b9e51c849bc67e0d21ef58abed580f95b
371370
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372-
<p><a class="reference external image-reference" 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 image-reference" 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 image-reference" href="https://github.com/OCA/social/tree/17.0/base_search_mail_content"><img alt="OCA/social" src="https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/social-17-0/social-17-0-base_search_mail_content"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/social&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
371+
<p><a class="reference external image-reference" 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 image-reference" 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 image-reference" href="https://github.com/OCA/mail/tree/18.0/base_search_mail_content"><img alt="OCA/mail" src="https://img.shields.io/badge/github-OCA%2Fmail-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/mail-18-0/mail-18-0-base_search_mail_content"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/mail&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373372
<p>This module adds the capability to find on any object (e.g. project
374373
issues or helpdesk ticket) based on the conversation threads associated
375374
to them.</p>
@@ -423,10 +422,10 @@ <h1><a class="toc-backref" href="#toc-entry-3">Known issues / Roadmap</a></h1>
423422
</div>
424423
<div class="section" id="bug-tracker">
425424
<h1><a class="toc-backref" href="#toc-entry-4">Bug Tracker</a></h1>
426-
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/social/issues">GitHub Issues</a>.
425+
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/mail/issues">GitHub Issues</a>.
427426
In case of trouble, please check there if your issue has already been reported.
428427
If you spotted it first, help us to smash it by providing a detailed and welcomed
429-
<a class="reference external" href="https://github.com/OCA/social/issues/new?body=module:%20base_search_mail_content%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
428+
<a class="reference external" href="https://github.com/OCA/mail/issues/new?body=module:%20base_search_mail_content%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
430429
<p>Do not contact contributors directly about support or help with technical issues.</p>
431430
</div>
432431
<div class="section" id="credits">
@@ -452,18 +451,17 @@ <h2><a class="toc-backref" href="#toc-entry-7">Contributors</a></h2>
452451
</ul>
453452
</li>
454453
<li>Nguyen Minh Chien &lt;<a class="reference external" href="mailto:chien&#64;trobz.com">chien&#64;trobz.com</a>&gt;</li>
454+
<li>Elliott Bristow &lt;<a class="reference external" href="mailto:elliott&#64;glo.systems">elliott&#64;glo.systems</a>&gt;</li>
455455
</ul>
456456
</div>
457457
<div class="section" id="maintainers">
458458
<h2><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h2>
459459
<p>This module is maintained by the OCA.</p>
460-
<a class="reference external image-reference" href="https://odoo-community.org">
461-
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
462-
</a>
460+
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
463461
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
464462
mission is to support the collaborative development of Odoo features and
465463
promote its widespread use.</p>
466-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/social/tree/17.0/base_search_mail_content">OCA/social</a> project on GitHub.</p>
464+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/mail/tree/18.0/base_search_mail_content">OCA/mail</a> project on GitHub.</p>
467465
<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>
468466
</div>
469467
</div>

base_search_mail_content/tests/test_base_search_mail_content.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ def test_base_search_mail_content_2(self):
2020
)
2121
self.assertIn(
2222
"message_content",
23-
res["models"][self.channel_obj._name],
23+
res["models"][self.channel_obj._name]["fields"],
2424
"message_content field was not detected",
2525
)

0 commit comments

Comments
 (0)