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

[MIG] mail_optional_follower_notification: Migration to 18.0 #11

Open
wants to merge 48 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
409b7d9
Initial commit
OCA-git-bot Oct 8, 2024
e38dfe9
[IMP] update dotfiles
OCA-git-bot Oct 20, 2024
9ea16c6
Add mail_optional_follower_notification module (#60)
adrienpeiffer May 25, 2016
3af43ab
Upgrade version from 8 -> 9
lmignon May 25, 2016
5193d06
mail.notification has been removed. The notify is done directly on th…
lmignon May 25, 2016
5c6af78
Tests: Replace XML_IDs no more available in 9.0
lmignon Jun 13, 2016
12e67aa
Argument auto_commit in send_mail
ThomasBinsfeld Aug 19, 2016
4612475
Migration of mail_optional_follower_notification to 10.0
adrienpeiffer Oct 24, 2016
908ee8a
[FIX] Bad version
adrienpeiffer Oct 24, 2016
6075f45
[FIX] pep8
sbidoul Dec 26, 2016
17843d3
[IMP] Hide the checkbox for the mass mailing in mail_optional_followe…
RobinetDenisAcsone Dec 4, 2017
cde19ab
[FIX] mail_optional_follower_notification: Check force_partners_to_no…
adrienpeiffer Oct 20, 2017
2b41e22
[FIX] README.rst syntax
pedrobaeza Jun 30, 2018
332c80d
Translated using Weblate (German)
marylla Dec 14, 2018
92fad0f
Translated using Weblate (Portuguese)
pedrocs-exo Aug 12, 2019
7a90c52
[12.0][MIG] mail_optional_follower_notification
astirpe Nov 29, 2019
1ac99e8
[IMP] mail_optional_follower_notification: black, isort
lmignon Dec 6, 2019
f4aa6a6
[MIG] mail_optional_follower_notification: Migration to 13.0
lmignon Dec 6, 2019
97a8b12
Update mail_optional_follower_notification/models/mail_thread.py
lmignon Jul 9, 2020
a98fb87
[IMP] pre-commit run -a
Jan 26, 2021
aedc35d
[13.0][FIX] mail_optional_follower_notification: change added span re…
glitchov Feb 19, 2021
1d4d1e1
[IMP] mail_optional_follower_notification: black, isort, prettier
ioans73 May 7, 2021
5b9c49b
[MIG] mail_optional_follower_notification: Migration to 14.0
ioans73 May 7, 2021
381d7c6
[UPD] Update mail_optional_follower_notification.pot
oca-travis Jan 24, 2022
9e658df
[UPD] README.rst
OCA-git-bot Jan 24, 2022
c98584e
Translated using Weblate (Spanish)
olgamarcocb Feb 2, 2022
b4622c2
[MIG] mail_optional_follower_notificatio: Migration to 15.0
robin5210 Mar 9, 2022
941aa0e
[UPD] Update mail_optional_follower_notification.pot
Mar 18, 2022
92581c0
[UPD] README.rst
OCA-git-bot Mar 18, 2022
9044773
mail_optional_follower_notification 15.0.1.0.1
OCA-git-bot Mar 18, 2022
6cad3ad
[IMP] update dotfiles [ci skip]
OCA-git-bot Dec 11, 2022
653eeb1
[MIG] mail_optional_follower_notification: Migration to 16.0
yankinmax Feb 17, 2023
d7f7298
[FIX] fix value returned by _action_send_mail
ajaniszewska-dev Mar 9, 2023
b08595b
mail_optional_follower_notification 16.0.1.0.1
OCA-git-bot Mar 20, 2023
c55b599
Translated using Weblate (Italian)
mymage Jul 24, 2023
81cc613
[UPD] README.rst
OCA-git-bot Sep 3, 2023
dafc137
Translated using Weblate (Spanish)
Ivorra78 Aug 27, 2023
46b6a43
[UPD] Update mail_optional_follower_notification.pot
Oct 18, 2023
ae53f95
Update translation files
weblate Oct 18, 2023
898f985
Translated using Weblate (Italian)
mymage Dec 1, 2023
06b2939
Translated using Weblate (Portuguese (Brazil))
adrianojprado Dec 22, 2023
cefc617
[IMP] mail_optional_follower_notification: pre-commit execution
jdidderen-nsi Jun 4, 2024
325132d
[MIG] mail_optional_follower_notification: Migration to 17.0
jdidderen-nsi Jun 4, 2024
2c45651
[UPD] Update mail_optional_follower_notification.pot
Oct 21, 2024
9cb10cb
[BOT] post-merge updates
OCA-git-bot Oct 21, 2024
5e68f42
Update translation files
weblate Oct 21, 2024
23622d8
[MIG] mail_optional_follower_notification: Migration to 18.0
carlosdynapps Oct 29, 2024
502374b
[18.0-mig-mail] [MIG] mail_optional_follower_notification: Migration …
carlosdynapps Nov 13, 2024
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
7 changes: 7 additions & 0 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,17 @@ odoo_version: 18.0
org_name: Odoo Community Association (OCA)
org_slug: OCA
rebel_module_groups: []
<<<<<<< HEAD
repo_description: mail
repo_name: mail
repo_slug: mail
repo_website: https://github.com/OCA/mail
=======
repo_description: social
repo_name: social
repo_slug: social
repo_website: https://github.com/OCA/social
>>>>>>> social/18.0-mig-mail_optional_follower_notification
use_pyproject_toml: true
use_ruff: true

8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,21 @@ repos:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
- id: oca-fix-manifest-website
<<<<<<< HEAD
args: ["https://github.com/OCA/mail"]
=======
args: ["https://github.com/OCA/social"]
>>>>>>> social/18.0-mig-mail_optional_follower_notification
- id: oca-gen-addon-readme
args:
- --addons-dir=.
- --branch=18.0
- --org-name=OCA
<<<<<<< HEAD
- --repo-name=mail
=======
- --repo-name=social
>>>>>>> social/18.0-mig-mail_optional_follower_notification
- --if-source-changed
- --keep-source-digest
- --convert-fragments-to-markdown
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

<<<<<<< HEAD
[![Runboat](https://img.shields.io/badge/runboat-Try%20me-875A7B.png)](https://runboat.odoo-community.org/builds?repo=OCA/mail&target_branch=18.0)
[![Pre-commit Status](https://github.com/OCA/mail/actions/workflows/pre-commit.yml/badge.svg?branch=18.0)](https://github.com/OCA/mail/actions/workflows/pre-commit.yml?query=branch%3A18.0)
[![Build Status](https://github.com/OCA/mail/actions/workflows/test.yml/badge.svg?branch=18.0)](https://github.com/OCA/mail/actions/workflows/test.yml?query=branch%3A18.0)
Expand All @@ -10,6 +11,19 @@
# mail

mail
=======
[![Runboat](https://img.shields.io/badge/runboat-Try%20me-875A7B.png)](https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=18.0)
[![Pre-commit Status](https://github.com/OCA/social/actions/workflows/pre-commit.yml/badge.svg?branch=18.0)](https://github.com/OCA/social/actions/workflows/pre-commit.yml?query=branch%3A18.0)
[![Build Status](https://github.com/OCA/social/actions/workflows/test.yml/badge.svg?branch=18.0)](https://github.com/OCA/social/actions/workflows/test.yml?query=branch%3A18.0)
[![codecov](https://codecov.io/gh/OCA/social/branch/18.0/graph/badge.svg)](https://codecov.io/gh/OCA/social)
[![Translation Status](https://translation.odoo-community.org/widgets/social-18-0/-/svg-badge.svg)](https://translation.odoo-community.org/engage/social-18-0/?utm_source=widget)

<!-- /!\ do not modify above this line -->

# social

social
>>>>>>> social/18.0-mig-mail_optional_follower_notification

<!-- /!\ do not modify below this line -->

Expand Down
96 changes: 96 additions & 0 deletions mail_optional_follower_notification/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
===================================
Mail optional follower notification
===================================

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

.. |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/18.0/mail_optional_follower_notification
:alt: OCA/social
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/social-18-0/social-18-0-mail_optional_follower_notification
: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=18.0
:alt: Try me on Runboat

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

This module adds the possibility to choose if you want to automatically
notify followers on mail.compose.message. By default, Odoo notify
automatically all followers.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to use the checkbox near "Followers of the
document and" on mail.compose.message:

This field it's initialized to true to keep the standard behavior.

|image1|

|image2|

.. |image1| image:: https://raw.githubusercontent.com/OCA/social/18.0/mail_optional_follower_notification/static/description/optional_follower_001.png
.. |image2| image:: https://raw.githubusercontent.com/OCA/social/18.0/mail_optional_follower_notification/static/description/optional_follower_002.png

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_optional_follower_notification%0Aversion:%2018.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
-------

* ACSONE SA/NV

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

- Adrien Peiffer <[email protected]>
- Laurent Mignon <[email protected]>
- Andrea Stirpe <[email protected]>
- Robin Goots <[email protected]>

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/18.0/mail_optional_follower_notification>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions mail_optional_follower_notification/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizard
13 changes: 13 additions & 0 deletions mail_optional_follower_notification/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright 2016 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Mail optional follower notification",
"summary": "Choose to notify followers on mail.compose.message",
"author": "ACSONE SA/NV," "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/social",
"category": "Social Network",
"version": "18.0.1.0.0",
"license": "AGPL-3",
"depends": ["mail"],
"data": ["wizard/mail_compose_message_view.xml"],
}
46 changes: 46 additions & 0 deletions mail_optional_follower_notification/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_optional_follower_notification
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-17 01:02+0000\n"
"PO-Revision-Date: 2017-05-17 01:02+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n"
"Language: am\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"

#. module: mail_optional_follower_notification
#: model_terms:ir.ui.view,arch_db:mail_optional_follower_notification.email_compose_message_wizard_form
msgid ""
"<span name=\"no_followers_text\" invisible=\"notify_followers\" "
"style=\"color: red;\"> - Warning : Followers will not be notified but they "
"can access the notification directly from the document (if they are allowed "
"to)</span>"
msgstr ""

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_thread
msgid "Email Thread"
msgstr ""

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_compose_message
msgid "Email composition wizard"
msgstr ""

#. module: mail_optional_follower_notification
#: model:ir.model.fields,field_description:mail_optional_follower_notification.field_mail_compose_message__notify_followers
msgid "Notify Followers"
msgstr ""

#~ msgid "Partner"
#~ msgstr "ተባባሪ"
47 changes: 47 additions & 0 deletions mail_optional_follower_notification/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_optional_follower_notification
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-17 01:02+0000\n"
"PO-Revision-Date: 2017-05-17 01:02+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: mail_optional_follower_notification
#: model_terms:ir.ui.view,arch_db:mail_optional_follower_notification.email_compose_message_wizard_form
msgid ""
"<span name=\"no_followers_text\" invisible=\"notify_followers\" "
"style=\"color: red;\"> - Warning : Followers will not be notified but they "
"can access the notification directly from the document (if they are allowed "
"to)</span>"
msgstr ""

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_thread
msgid "Email Thread"
msgstr ""

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_compose_message
msgid "Email composition wizard"
msgstr ""

#. module: mail_optional_follower_notification
#: model:ir.model.fields,field_description:mail_optional_follower_notification.field_mail_compose_message__notify_followers
msgid "Notify Followers"
msgstr ""

#~ msgid "Partner"
#~ msgstr "الشريك"
46 changes: 46 additions & 0 deletions mail_optional_follower_notification/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_optional_follower_notification
#
# Translators:
# OCA Transbot <[email protected]>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-01-16 03:47+0000\n"
"PO-Revision-Date: 2018-01-16 03:47+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2018\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"Language: bg\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"

#. module: mail_optional_follower_notification
#: model_terms:ir.ui.view,arch_db:mail_optional_follower_notification.email_compose_message_wizard_form
msgid ""
"<span name=\"no_followers_text\" invisible=\"notify_followers\" "
"style=\"color: red;\"> - Warning : Followers will not be notified but they "
"can access the notification directly from the document (if they are allowed "
"to)</span>"
msgstr ""

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_thread
msgid "Email Thread"
msgstr ""

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_compose_message
msgid "Email composition wizard"
msgstr ""

#. module: mail_optional_follower_notification
#: model:ir.model.fields,field_description:mail_optional_follower_notification.field_mail_compose_message__notify_followers
msgid "Notify Followers"
msgstr ""

#~ msgid "Partner"
#~ msgstr "Партньор"
47 changes: 47 additions & 0 deletions mail_optional_follower_notification/i18n/bs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_optional_follower_notification
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-17 01:02+0000\n"
"PO-Revision-Date: 2017-05-17 01:02+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n"
"Language: bs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"

#. module: mail_optional_follower_notification
#: model_terms:ir.ui.view,arch_db:mail_optional_follower_notification.email_compose_message_wizard_form
msgid ""
"<span name=\"no_followers_text\" invisible=\"notify_followers\" "
"style=\"color: red;\"> - Warning : Followers will not be notified but they "
"can access the notification directly from the document (if they are allowed "
"to)</span>"
msgstr ""

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_thread
msgid "Email Thread"
msgstr ""

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_compose_message
msgid "Email composition wizard"
msgstr ""

#. module: mail_optional_follower_notification
#: model:ir.model.fields,field_description:mail_optional_follower_notification.field_mail_compose_message__notify_followers
msgid "Notify Followers"
msgstr ""

#~ msgid "Partner"
#~ msgstr "Partner"
Loading
Loading