Skip to content

Commit 5631e9e

Browse files
committed
Merge PR #143 into 18.0
Signed-off-by pedrobaeza
2 parents 1d2028b + 4e2d20c commit 5631e9e

28 files changed

+1939
-0
lines changed

mail_forward/README.rst

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
====================
2+
Mail Forward Message
3+
====================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:5ef4a37a086e596348f4dcec546d3ceadf405792c3f2c6481397d2ff574839d9
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
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/mail_forward
21+
:alt: OCA/mail
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/mail-18-0/mail-18-0-mail_forward
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/mail&target_branch=18.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module allows users to forward messages from the chatter of any
32+
document to:
33+
34+
- Other users in the same thread, adding them as followers of the
35+
document without notifying the current followers.
36+
- Another thread, but not adding them as followers—only notifying the
37+
current followers of the other thread.
38+
39+
**Table of contents**
40+
41+
.. contents::
42+
:local:
43+
44+
Configuration
45+
=============
46+
47+
To enable a model to forward messages to another thread:
48+
49+
- With debug mode activated, go to
50+
``Settings -> Technical -> Database Structure -> Models``.
51+
- Search for the model you wish to enable.
52+
- Mark the option ``Enable Forward To`` and save. Transient models or
53+
those without mail thread won't have this check visible.
54+
55+
Usage
56+
=====
57+
58+
To use this module, follow these steps:
59+
60+
- Navigate to the chatter of any document.
61+
- Hover the mouse over any message in the chatter (excluding internal
62+
notes).
63+
- A Forward icon will appear next to the message.
64+
- Click the button to display a wizard with the message.
65+
- Select the forward type (current thread or another thread).
66+
- Select the users to forward the message to, or select the other thread
67+
according to the previous step.
68+
- Click the 'Send Mail' button to send the message to the selected users
69+
or thread.
70+
71+
Bug Tracker
72+
===========
73+
74+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/mail/issues>`_.
75+
In case of trouble, please check there if your issue has already been reported.
76+
If you spotted it first, help us to smash it by providing a detailed and welcomed
77+
`feedback <https://github.com/OCA/mail/issues/new?body=module:%20mail_forward%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
78+
79+
Do not contact contributors directly about support or help with technical issues.
80+
81+
Credits
82+
=======
83+
84+
Authors
85+
-------
86+
87+
* Tecnativa
88+
89+
Contributors
90+
------------
91+
92+
- `Tecnativa <https://www.tecnativa.com>`__:
93+
94+
- Carlos López
95+
96+
Maintainers
97+
-----------
98+
99+
This module is maintained by the OCA.
100+
101+
.. image:: https://odoo-community.org/logo.png
102+
:alt: Odoo Community Association
103+
:target: https://odoo-community.org
104+
105+
OCA, or the Odoo Community Association, is a nonprofit organization whose
106+
mission is to support the collaborative development of Odoo features and
107+
promote its widespread use.
108+
109+
.. |maintainer-carlos-lopez-tecnativa| image:: https://github.com/carlos-lopez-tecnativa.png?size=40px
110+
:target: https://github.com/carlos-lopez-tecnativa
111+
:alt: carlos-lopez-tecnativa
112+
113+
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
114+
115+
|maintainer-carlos-lopez-tecnativa|
116+
117+
This module is part of the `OCA/mail <https://github.com/OCA/mail/tree/18.0/mail_forward>`_ project on GitHub.
118+
119+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

mail_forward/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
from . import models
2+
from . import wizards

mail_forward/__manifest__.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Copyright 2024 Tecnativa - Carlos Lopez
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
3+
{
4+
"name": "Mail Forward Message",
5+
"version": "18.0.1.0.0",
6+
"summary": "Forward messages from the chatter of any document to other users.",
7+
"author": "Tecnativa, Odoo Community Association (OCA)",
8+
"website": "https://github.com/OCA/mail",
9+
"depends": ["mail", "contacts"],
10+
"data": ["wizards/mail_compose_message_view.xml", "views/ir_model_views.xml"],
11+
"assets": {
12+
"web.assets_backend": [
13+
"mail_forward/static/src/**/*.esm.js",
14+
"mail_forward/static/src/**/*.xml",
15+
],
16+
"web.assets_tests": [
17+
"mail_forward/static/tests/tours/**/*",
18+
],
19+
},
20+
"installable": True,
21+
"auto_install": False,
22+
"license": "AGPL-3",
23+
"maintainers": ["carlos-lopez-tecnativa"],
24+
}

mail_forward/i18n/ca.po

Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * mail_forward
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 17.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2025-06-19 09:25+0000\n"
10+
"Last-Translator: jabelchi <jabelchi@gmail.com>\n"
11+
"Language-Team: none\n"
12+
"Language: ca\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 5.10.4\n"
18+
19+
#. module: mail_forward
20+
#. odoo-python
21+
#: code:addons/mail_forward/models/mail_message.py:0
22+
#, python-format
23+
msgid "---------- Forwarded message ---------"
24+
msgstr "---------- Missatge reenviat ---------"
25+
26+
#. module: mail_forward
27+
#: model:ir.model.fields.selection,name:mail_forward.selection__mail_compose_gateway_message__forward_type__another_thread
28+
#: model:ir.model.fields.selection,name:mail_forward.selection__mail_compose_message__forward_type__another_thread
29+
msgid "Another thread"
30+
msgstr "Un altre fil"
31+
32+
#. module: mail_forward
33+
#: model:ir.model.fields.selection,name:mail_forward.selection__mail_compose_gateway_message__forward_type__current_thread
34+
#: model:ir.model.fields.selection,name:mail_forward.selection__mail_compose_message__forward_type__current_thread
35+
msgid "Current thread"
36+
msgstr "Fil actual"
37+
38+
#. module: mail_forward
39+
#. odoo-python
40+
#: code:addons/mail_forward/models/mail_message.py:0
41+
#, python-format
42+
msgid "Date"
43+
msgstr "Data"
44+
45+
#. module: mail_forward
46+
#: model:ir.model,name:mail_forward.model_mail_thread
47+
msgid "Email Thread"
48+
msgstr "Fil de correus"
49+
50+
#. module: mail_forward
51+
#: model:ir.model,name:mail_forward.model_mail_compose_message
52+
msgid "Email composition wizard"
53+
msgstr "Assistent de redacció de correus"
54+
55+
#. module: mail_forward
56+
#: model:ir.model.fields,field_description:mail_forward.field_ir_model__enable_forward_to
57+
msgid "Enable Forward To"
58+
msgstr "Habilita reenviament"
59+
60+
#. module: mail_forward
61+
#: model:ir.model.fields,help:mail_forward.field_ir_model__enable_forward_to
62+
msgid "Enable forwarding messages to records of this model."
63+
msgstr "Habilita reenviament de missatges a registres d'aquest model."
64+
65+
#. module: mail_forward
66+
#: model_terms:ir.ui.view,arch_db:mail_forward.mail_compose_message_forward_form
67+
msgid "Followers to notify"
68+
msgstr "Seguidors a notificar"
69+
70+
#. module: mail_forward
71+
#. odoo-javascript
72+
#: code:addons/mail_forward/static/src/components/forward_message/forward_message.xml:0
73+
#: code:addons/mail_forward/static/src/core/common/message_actions.esm.js:0
74+
#, python-format
75+
msgid "Forward"
76+
msgstr "Reenvia"
77+
78+
#. module: mail_forward
79+
#. odoo-javascript
80+
#. odoo-python
81+
#: code:addons/mail_forward/models/mail_message.py:0
82+
#: code:addons/mail_forward/static/src/components/forward_message/forward_message.xml:0
83+
#, python-format
84+
msgid "Forward Message"
85+
msgstr "Reenvia missatge"
86+
87+
#. module: mail_forward
88+
#. odoo-javascript
89+
#: code:addons/mail_forward/static/src/components/forward_message/forward_message.xml:0
90+
#, python-format
91+
msgid "Forward Message Center"
92+
msgstr ""
93+
94+
#. module: mail_forward
95+
#. odoo-javascript
96+
#: code:addons/mail_forward/static/src/components/forward_message/forward_message.xml:0
97+
#, python-format
98+
msgid "Forward Message Left"
99+
msgstr ""
100+
101+
#. module: mail_forward
102+
#. odoo-javascript
103+
#: code:addons/mail_forward/static/src/components/forward_message/forward_message.xml:0
104+
#, python-format
105+
msgid "Forward Message Right"
106+
msgstr ""
107+
108+
#. module: mail_forward
109+
#: model:ir.model.fields,field_description:mail_forward.field_mail_compose_gateway_message__forward_type
110+
#: model:ir.model.fields,field_description:mail_forward.field_mail_compose_message__forward_type
111+
msgid "Forward Type"
112+
msgstr "Tipus de reenviament"
113+
114+
#. module: mail_forward
115+
#. odoo-python
116+
#: code:addons/mail_forward/models/mail_message.py:0
117+
#, python-format
118+
msgid "From"
119+
msgstr "De"
120+
121+
#. module: mail_forward
122+
#. odoo-python
123+
#: code:addons/mail_forward/wizards/mail_compose_message.py:0
124+
#, python-format
125+
msgid "Fwd:"
126+
msgstr "Rv:"
127+
128+
#. module: mail_forward
129+
#: model:ir.model,name:mail_forward.model_mail_message
130+
msgid "Message"
131+
msgstr "Missatge"
132+
133+
#. module: mail_forward
134+
#: model:ir.model,name:mail_forward.model_ir_model
135+
msgid "Models"
136+
msgstr "Models"
137+
138+
#. module: mail_forward
139+
#. odoo-python
140+
#: code:addons/mail_forward/wizards/mail_compose_message.py:0
141+
#, python-format
142+
msgid "Re:"
143+
msgstr "Re:"
144+
145+
#. module: mail_forward
146+
#. odoo-python
147+
#: code:addons/mail_forward/models/mail_message.py:0
148+
#, python-format
149+
msgid "Subject"
150+
msgstr "Assumpte"
151+
152+
#. module: mail_forward
153+
#: model:ir.model.fields,field_description:mail_forward.field_mail_compose_gateway_message__forward_thread
154+
#: model:ir.model.fields,field_description:mail_forward.field_mail_compose_message__forward_thread
155+
msgid "Thread to forward"
156+
msgstr "Fil pel reenviament"
157+
158+
#. module: mail_forward
159+
#. odoo-python
160+
#: code:addons/mail_forward/models/mail_message.py:0
161+
#, python-format
162+
msgid "To"
163+
msgstr "A"

0 commit comments

Comments
 (0)