Skip to content

Commit

Permalink
[MIG] mail_layout_preview: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimkhoi3010 committed Oct 16, 2024
1 parent f573d2b commit 5205bd8
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
5 changes: 3 additions & 2 deletions mail_layout_preview/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,13 @@ Contributors
- Simone Orsi <[email protected]>
- Phuc Tran Thanh <[email protected]>
- Son Ho <[email protected]>
- Khoi (Kien Kim) <[email protected]>

Other credits
-------------

The development and migration of this module from 15.0 to 16.0 has been
financially supported by:
The development and migration of this module from 15.0 to 16.0 and from
17.0 to 18.0 has been financially supported by:

- Camptocamp

Expand Down
2 changes: 1 addition & 1 deletion mail_layout_preview/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "Mail Preview",
"summary": """
Preview email templates in the browser""",
"version": "17.0.1.0.0",
"version": "18.0.1.0.0",
"license": "AGPL-3",
"author": "Camptocamp,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/social",
Expand Down
1 change: 1 addition & 0 deletions mail_layout_preview/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- Simone Orsi \<<[email protected]>\>
- Phuc Tran Thanh \<<[email protected]>\>
- Son Ho \<<[email protected]>\>
- Khoi (Kien Kim) \<<[email protected]>\>
4 changes: 2 additions & 2 deletions mail_layout_preview/readme/CREDITS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The development and migration of this module from 15.0 to 16.0 has been
financially supported by:
The development and migration of this module from 15.0 to 16.0 and
from 17.0 to 18.0 has been financially supported by:

- Camptocamp
5 changes: 3 additions & 2 deletions mail_layout_preview/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -426,12 +426,13 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
<li>Simone Orsi &lt;<a class="reference external" href="mailto:simahawk&#64;gmail.com">simahawk&#64;gmail.com</a>&gt;</li>
<li>Phuc Tran Thanh &lt;<a class="reference external" href="mailto:phuc&#64;trobz.com">phuc&#64;trobz.com</a>&gt;</li>
<li>Son Ho &lt;<a class="reference external" href="mailto:sonhd&#64;trobz.com">sonhd&#64;trobz.com</a>&gt;</li>
<li>Khoi (Kien Kim) &lt;<a class="reference external" href="mailto:khoikk&#64;trobz.com">khoikk&#64;trobz.com</a>&gt;</li>
</ul>
</div>
<div class="section" id="other-credits">
<h2><a class="toc-backref" href="#toc-entry-6">Other credits</a></h2>
<p>The development and migration of this module from 15.0 to 16.0 has been
financially supported by:</p>
<p>The development and migration of this module from 15.0 to 16.0 and from
17.0 to 18.0 has been financially supported by:</p>
<ul class="simple">
<li>Camptocamp</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion mail_layout_preview/tests/test_layout_preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ def test_controller2(self):
tmpl = self._create_template(self.env, model)
response = self.url_open(self.base_url + f"{model}/{tmpl.id}/{partner.id}/")
content = response.content.decode()
self.assertIn("<p>Hello %s</p>" % (partner.name), content)
self.assertIn(f"<p>Hello {partner.name}</p>", content)

0 comments on commit 5205bd8

Please sign in to comment.