Skip to content

Commit 8d41269

Browse files
committed
[BOT] post-merge updates
1 parent e04bab2 commit 8d41269

4 files changed

Lines changed: 43 additions & 31 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ addon | version | maintainers | summary
3838
[mail_force_email_notification](mail_force_email_notification/) | 18.0.1.0.0 | | Context key to define notifications to be sent by emaildefined by force_notification_by_email context key
3939
[mail_forward](mail_forward/) | 18.0.1.0.0 | <a href='https://github.com/carlos-lopez-tecnativa'><img src='https://github.com/carlos-lopez-tecnativa.png' width='32' height='32' style='border-radius:50%;' alt='carlos-lopez-tecnativa'/></a> | Forward messages from the chatter of any document to other users.
4040
[mail_inline_css](mail_inline_css/) | 18.0.1.0.0 | | Convert style tags in inline style in your mails
41+
[mail_layout_force](mail_layout_force/) | 18.0.1.0.0 | <a href='https://github.com/ivantodorovich'><img src='https://github.com/ivantodorovich.png' width='32' height='32' style='border-radius:50%;' alt='ivantodorovich'/></a> | Force a mail layout on selected email templates
4142
[mail_layout_preview](mail_layout_preview/) | 18.0.1.0.0 | | Preview email templates in the browser
4243
[mail_message_search](mail_message_search/) | 18.0.1.0.2 | <a href='https://github.com/yostashiro'><img src='https://github.com/yostashiro.png' width='32' height='32' style='border-radius:50%;' alt='yostashiro'/></a> <a href='https://github.com/aungkokolin1997'><img src='https://github.com/aungkokolin1997.png' width='32' height='32' style='border-radius:50%;' alt='aungkokolin1997'/></a> | Mail Message Search
4344
[mail_no_user_assign_notification](mail_no_user_assign_notification/) | 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 No user Assign Notification

mail_layout_force/README.rst

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
15
=================
26
Mail Layout Force
37
=================
@@ -7,13 +11,13 @@ Mail Layout Force
711
!! This file is generated by oca-gen-addon-readme !!
812
!! changes will be overwritten. !!
913
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10-
!! source digest: sha256:988dd474248a3c1d5cf299ddbbe938b3706c0ebaca05219cede46dc6a2eed89a
14+
!! source digest: sha256:baadb7cfc76ac450e9fdd0b52f04a5ea57a275da88e050ae8ad80ffdbb90bb6e
1115
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1216
1317
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1418
:target: https://odoo-community.org/page/development-status
1519
:alt: Beta
16-
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
20+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
1721
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1822
:alt: License: AGPL-3
1923
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmail-lightgray.png?logo=github
@@ -39,9 +43,9 @@ There are notably three main layouts used in Odoo, and the user can't
3943
control when they're used, as it's hardcoded into the different
4044
applications.
4145

42-
- ``mail.mail_notification_layout``
43-
- ``mail.mail_notification_layout_with_responsible_signature``
44-
- ``mail.mail_notification_light``
46+
- ``mail.mail_notification_layout``
47+
- ``mail.mail_notification_layout_with_responsible_signature``
48+
- ``mail.mail_notification_light``
4549

4650
This module allows to force a specific layout for a given
4751
``email.template``, effectively overwriting the one hardcoded by Odoo.
@@ -74,9 +78,9 @@ To configure a custom layout of your own, some technical knowledge is
7478
needed. You can see how the existing layouts are defined for details or
7579
inspiration:
7680

77-
- ``mail.mail_notification_layout``
78-
- ``mail.mail_notification_layout_with_responsible_signature``
79-
- ``mail.mail_notification_light``
81+
- ``mail.mail_notification_layout``
82+
- ``mail.mail_notification_layout_with_responsible_signature``
83+
- ``mail.mail_notification_light``
8084

8185
To force a custom layout for emails that do not use an existing
8286
``email.template`` record (e.g., emails sent from the chatter) or for
@@ -91,11 +95,11 @@ opening the mail composer (e.g., invoice send actions like
9195
3. Open the original layout view that you want to replace. Under the
9296
*Layout Mapping* tab:
9397

94-
- Click *Add a line*
95-
- Set *Substitute Layout* to the new custom layout you created
96-
- Set *Models* if you want to apply the replacement only to specific
97-
models. If left empty, the email layout will be replaced for all
98-
models
98+
- Click *Add a line*
99+
- Set *Substitute Layout* to the new custom layout you created
100+
- Set *Models* if you want to apply the replacement only to specific
101+
models. If left empty, the email layout will be replaced for all
102+
models
99103

100104
Bug Tracker
101105
===========
@@ -118,16 +122,16 @@ Authors
118122
Contributors
119123
------------
120124

121-
- ``Camptocamp <https://www.camptocamp.com>``\ \_
125+
- ``Camptocamp <https://www.camptocamp.com>``\ \_
122126

123-
- Iván Todorovich ivan.todorovich@camptocamp.com
127+
- Iván Todorovich ivan.todorovich@camptocamp.com
124128

125-
- Abraham Anes abrahamanes@gmail.com
129+
- Abraham Anes abrahamanes@gmail.com
126130

127-
- ``Quartile <https://www.quartile.co>``\ \_
131+
- ``Quartile <https://www.quartile.co>``\ \_
128132

129-
- Aung Ko Ko Lin
130-
- Yoshi Tashiro
133+
- Aung Ko Ko Lin
134+
- Yoshi Tashiro
131135

132136
Maintainers
133137
-----------

mail_layout_force/static/description/index.html

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6-
<title>Mail Layout Force</title>
6+
<title>README.rst</title>
77
<style type="text/css">
88

99
/*
@@ -360,16 +360,21 @@
360360
</style>
361361
</head>
362362
<body>
363-
<div class="document" id="mail-layout-force">
364-
<h1 class="title">Mail Layout Force</h1>
363+
<div class="document">
365364

365+
366+
<a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
367+
<img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
368+
</a>
369+
<div class="section" id="mail-layout-force">
370+
<h1>Mail Layout Force</h1>
366371
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367372
!! This file is generated by oca-gen-addon-readme !!
368373
!! changes will be overwritten. !!
369374
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370-
!! source digest: sha256:988dd474248a3c1d5cf299ddbbe938b3706c0ebaca05219cede46dc6a2eed89a
375+
!! source digest: sha256:baadb7cfc76ac450e9fdd0b52f04a5ea57a275da88e050ae8ad80ffdbb90bb6e
371376
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
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/mail/tree/18.0/mail_layout_force"><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-mail_layout_force"><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>
377+
<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/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/mail/tree/18.0/mail_layout_force"><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-mail_layout_force"><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>
373378
<p>Odoo will add a default email layout on most commercial communications.</p>
374379
<p>The email layout is a <tt class="docutils literal">QWeb</tt> view that ends up wrapping the message
375380
body when sending an email. It usually displays the related document
@@ -404,7 +409,7 @@ <h1 class="title">Mail Layout Force</h1>
404409
</ul>
405410
</div>
406411
<div class="section" id="configuration">
407-
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
412+
<h2><a class="toc-backref" href="#toc-entry-1">Configuration</a></h2>
408413
<p>To configure a forced layout for email templates:</p>
409414
<ol class="arabic simple">
410415
<li>Go to <em>Settings &gt; Technical &gt; Email &gt; Email Templates</em></li>
@@ -444,23 +449,23 @@ <h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
444449
</ol>
445450
</div>
446451
<div class="section" id="bug-tracker">
447-
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
452+
<h2><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h2>
448453
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/mail/issues">GitHub Issues</a>.
449454
In case of trouble, please check there if your issue has already been reported.
450455
If you spotted it first, help us to smash it by providing a detailed and welcomed
451456
<a class="reference external" href="https://github.com/OCA/mail/issues/new?body=module:%20mail_layout_force%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
452457
<p>Do not contact contributors directly about support or help with technical issues.</p>
453458
</div>
454459
<div class="section" id="credits">
455-
<h1><a class="toc-backref" href="#toc-entry-3">Credits</a></h1>
460+
<h2><a class="toc-backref" href="#toc-entry-3">Credits</a></h2>
456461
<div class="section" id="authors">
457-
<h2><a class="toc-backref" href="#toc-entry-4">Authors</a></h2>
462+
<h3><a class="toc-backref" href="#toc-entry-4">Authors</a></h3>
458463
<ul class="simple">
459464
<li>Camptocamp</li>
460465
</ul>
461466
</div>
462467
<div class="section" id="contributors">
463-
<h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
468+
<h3><a class="toc-backref" href="#toc-entry-5">Contributors</a></h3>
464469
<ul class="simple">
465470
<li><tt class="docutils literal">Camptocamp <span class="pre">&lt;https://www.camptocamp.com&gt;</span></tt>_<ul>
466471
<li>Iván Todorovich <a class="reference external" href="mailto:ivan.todorovich&#64;camptocamp.com">ivan.todorovich&#64;camptocamp.com</a></li>
@@ -475,7 +480,7 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
475480
</ul>
476481
</div>
477482
<div class="section" id="maintainers">
478-
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
483+
<h3><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h3>
479484
<p>This module is maintained by the OCA.</p>
480485
<a class="reference external image-reference" href="https://odoo-community.org">
481486
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
@@ -490,5 +495,6 @@ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
490495
</div>
491496
</div>
492497
</div>
498+
</div>
493499
</body>
494500
</html>

setup/_metapackage/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "odoo-addons-oca-mail"
3-
version = "18.0.20260309.0"
3+
version = "18.0.20260401.0"
44
dependencies = [
55
"odoo-addon-base_search_mail_content==18.0.*",
66
"odoo-addon-mail_activity_board==18.0.*",
@@ -19,6 +19,7 @@ dependencies = [
1919
"odoo-addon-mail_force_email_notification==18.0.*",
2020
"odoo-addon-mail_forward==18.0.*",
2121
"odoo-addon-mail_inline_css==18.0.*",
22+
"odoo-addon-mail_layout_force==18.0.*",
2223
"odoo-addon-mail_layout_preview==18.0.*",
2324
"odoo-addon-mail_message_search==18.0.*",
2425
"odoo-addon-mail_no_user_assign_notification==18.0.*",

0 commit comments

Comments
 (0)