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

[17.0][MIG] mail_send_confirmation: migration to 17.0 #1295

Merged
merged 9 commits into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
92 changes: 92 additions & 0 deletions mail_send_confirmation/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
======================
Mail Send Confirmation
======================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:d75629616776166c8cabbfb0c38c79325902f4c30b739ee01b4d1559697eae77
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
: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/17.0/mail_send_confirmation
:alt: OCA/social
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/social-17-0/social-17-0-mail_send_confirmation
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module asks for confirmation when 'Send' button in the message
composer of the chatter is pressed, to reduce the chances of
accidentally sending an internal message to the external followers.

Limitation
----------

As of now, this module does not change the behavior of the full composer
(i.e. no confirmation will be requested), which shows the recipients and
therefore the extra confirmation step may not be as necessary as in the
simple composer.

**Table of contents**

.. contents::
:local:

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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/social/issues/new?body=module:%20mail_send_confirmation%0Aversion:%2017.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.

Credits
=======

Authors
-------

* Quartile Limited

Contributors
------------

- `Quartile <https://www.quartile.co>`__:

- Aung Ko Ko Lin

- `360ERP <https://www.360erp.com>`__:

- Andrea Stirpe

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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/17.0/mail_send_confirmation>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
17 changes: 17 additions & 0 deletions mail_send_confirmation/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2023 Quartile Limited
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Mail Send Confirmation",
"version": "17.0.1.0.0",
"author": "Quartile Limited, Odoo Community Association (OCA)",
"license": "AGPL-3",
"category": "Mail",
"website": "https://github.com/OCA/social",
"depends": ["mail"],
"assets": {
"web.assets_backend": [
"mail_send_confirmation/static/src/models/composer_view.esm.js",
],
},
"installable": True,
}
49 changes: 49 additions & 0 deletions mail_send_confirmation/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_send_confirmation
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-01-09 20:34+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: mail_send_confirmation
#. odoo-javascript
#: code:addons/mail_send_confirmation/static/src/models/composer_view.esm.js:0
#, python-format
msgid "Confirm"
msgstr "Confirmar"

#. module: mail_send_confirmation
#. odoo-javascript
#: code:addons/mail_send_confirmation/static/src/models/composer_view.esm.js:0
#, python-format
msgid "Confirmation"
msgstr "Confirmación"

#. module: mail_send_confirmation
#. odoo-javascript
#: code:addons/mail_send_confirmation/static/src/models/composer_view.esm.js:0
#, python-format
msgid "Discard"
msgstr "Descartar"

#. module: mail_send_confirmation
#. odoo-javascript
#: code:addons/mail_send_confirmation/static/src/models/composer_view.esm.js:0
#, python-format
msgid ""
"This message will be sent to external partners as well. Are you sure you "
"would like to send this message?"
msgstr ""
"Este mensaje también se enviará a socios externos. ¿Está seguro de que desea "
"enviar este mensaje?"
49 changes: 49 additions & 0 deletions mail_send_confirmation/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_send_confirmation
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-01-03 11:36+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: mail_send_confirmation
#. odoo-javascript
#: code:addons/mail_send_confirmation/static/src/models/composer_view.esm.js:0
#, python-format
msgid "Confirm"
msgstr "Conferma"

#. module: mail_send_confirmation
#. odoo-javascript
#: code:addons/mail_send_confirmation/static/src/models/composer_view.esm.js:0
#, python-format
msgid "Confirmation"
msgstr "Conferma"

#. module: mail_send_confirmation
#. odoo-javascript
#: code:addons/mail_send_confirmation/static/src/models/composer_view.esm.js:0
#, python-format
msgid "Discard"
msgstr "Abbandona"

#. module: mail_send_confirmation
#. odoo-javascript
#: code:addons/mail_send_confirmation/static/src/models/composer_view.esm.js:0
#, python-format
msgid ""
"This message will be sent to external partners as well. Are you sure you "
"would like to send this message?"
msgstr ""
"Questo messaggio verrà inviato anche ai partner. Si è sicuri di inviare "
"questo messaggio?"
44 changes: 44 additions & 0 deletions mail_send_confirmation/i18n/mail_send_confirmation.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_send_confirmation
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: mail_send_confirmation
#. odoo-javascript
#: code:addons/mail_send_confirmation/static/src/models/composer_view.esm.js:0
#, python-format
msgid "Confirm"
msgstr ""

#. module: mail_send_confirmation
#. odoo-javascript
#: code:addons/mail_send_confirmation/static/src/models/composer_view.esm.js:0
#, python-format
msgid "Confirmation"
msgstr ""

#. module: mail_send_confirmation
#. odoo-javascript
#: code:addons/mail_send_confirmation/static/src/models/composer_view.esm.js:0
#, python-format
msgid "Discard"
msgstr ""

#. module: mail_send_confirmation
#. odoo-javascript
#: code:addons/mail_send_confirmation/static/src/models/composer_view.esm.js:0
#, python-format
msgid ""
"This message will be sent to external partners as well. Are you sure you "
"would like to send this message?"
msgstr ""
3 changes: 3 additions & 0 deletions mail_send_confirmation/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
4 changes: 4 additions & 0 deletions mail_send_confirmation/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- [Quartile](https://www.quartile.co):
- Aung Ko Ko Lin
- [360ERP](https://www.360erp.com):
- Andrea Stirpe
10 changes: 10 additions & 0 deletions mail_send_confirmation/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
This module asks for confirmation when 'Send' button in the message
composer of the chatter is pressed, to reduce the chances of
accidentally sending an internal message to the external followers.

## Limitation

As of now, this module does not change the behavior of the full composer
(i.e. no confirmation will be requested), which shows the recipients and
therefore the extra confirmation step may not be as necessary as in the
simple composer.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading