[IMP] mass_mailing_event_registration_exclude: pre-commit auto fixes

pull/1369/head
Ruchir Shukla 2024-05-22 16:14:53 +05:30
parent de1c877904
commit 9e5576a297
9 changed files with 67 additions and 71 deletions

View File

@ -17,20 +17,20 @@ Mass mailing event
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3 :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github
:target: https://github.com/OCA/social/tree/16.0/mass_mailing_event_registration_exclude :target: https://github.com/OCA/social/tree/17.0/mass_mailing_event_registration_exclude
:alt: OCA/social :alt: OCA/social
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mass_mailing_event_registration_exclude :target: https://translation.odoo-community.org/projects/social-17-0/social-17-0-mass_mailing_event_registration_exclude
:alt: Translate me on Weblate :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=16.0 :target: https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=17.0
:alt: Try me on Runboat :alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5| |badge1| |badge2| |badge3| |badge4| |badge5|
This module links ``mass_mailing`` with ``event`` in order to exclude This module links ``mass_mailing`` with ``event`` in order to exclude
recipients that are already registered, confirmed, cancelled, attended, or a recipients that are already registered, confirmed, cancelled, attended,
combination of these states, when the mass mailing is sent. or a combination of these states, when the mass mailing is sent.
**Table of contents** **Table of contents**
@ -40,21 +40,19 @@ combination of these states, when the mass mailing is sent.
Usage Usage
===== =====
In a mass mailing, users can set an event related and exclude the recipients who In a mass mailing, users can set an event related and exclude the
have an email address already registered in that event. recipients who have an email address already registered in that event.
This is useful in this scenario: This is useful in this scenario:
1. Create a mass mailing for telling to 1000 partners that a new event is 1. Create a mass mailing for telling to 1000 partners that a new event
available. is available. 2. During a week some of them (50) have been registered in
2. During a week some of them (50) have been registered in the event the event 3. Then, a week after the first mass mailing, duplicate it to
3. Then, a week after the first mass mailing, duplicate it to get a second get a second mass mailing. Relate this one to the event and exclude the
mass mailing. Relate this one to the event and exclude the registered emails. registered emails. Change the message body to remember that early bird
Change the message body to remember that early bird period is going to expire period is going to expire soon. 4. Send the second mass mailing and
soon. registered emails are automatically excluded, So it's been only sent to
4. Send the second mass mailing and registered emails are automatically excluded, 950 partners the ones who are not registered in the event yet.
So it's been only sent to 950 partners the ones who are not registered in the
event yet.
Bug Tracker Bug Tracker
=========== ===========
@ -62,7 +60,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/social/issues>`_. 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. 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 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:%20mass_mailing_event_registration_exclude%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. `feedback <https://github.com/OCA/social/issues/new?body=module:%20mass_mailing_event_registration_exclude%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. Do not contact contributors directly about support or help with technical issues.
@ -70,23 +68,23 @@ Credits
======= =======
Authors Authors
~~~~~~~ -------
* Tecnativa * Tecnativa
Contributors Contributors
~~~~~~~~~~~~ ------------
* `Tecnativa <https://www.tecnativa.com>`__: - `Tecnativa <https://www.tecnativa.com>`__:
* Antonio Espinosa - Antonio Espinosa
* David Vidal - David Vidal
* Alexandre D. Díaz - Alexandre D. Díaz
* Stefan Ungureanu - Stefan Ungureanu
* Carolina Fernandez - Carolina Fernandez
Maintainers Maintainers
~~~~~~~~~~~ -----------
This module is maintained by the OCA. This module is maintained by the OCA.
@ -98,6 +96,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and mission is to support the collaborative development of Odoo features and
promote its widespread use. promote its widespread use.
This module is part of the `OCA/social <https://github.com/OCA/social/tree/16.0/mass_mailing_event_registration_exclude>`_ project on GitHub. This module is part of the `OCA/social <https://github.com/OCA/social/tree/17.0/mass_mailing_event_registration_exclude>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"

View File

@ -0,0 +1,7 @@
- [Tecnativa](https://www.tecnativa.com):
> - Antonio Espinosa
> - David Vidal
> - Alexandre D. Díaz
> - Stefan Ungureanu
> - Carolina Fernandez

View File

@ -1,7 +0,0 @@
* `Tecnativa <https://www.tecnativa.com>`__:
* Antonio Espinosa
* David Vidal
* Alexandre D. Díaz
* Stefan Ungureanu
* Carolina Fernandez

View File

@ -0,0 +1,3 @@
This module links `mass_mailing` with `event` in order to exclude
recipients that are already registered, confirmed, cancelled, attended,
or a combination of these states, when the mass mailing is sent.

View File

@ -1,3 +0,0 @@
This module links ``mass_mailing`` with ``event`` in order to exclude
recipients that are already registered, confirmed, cancelled, attended, or a
combination of these states, when the mass mailing is sent.

View File

@ -0,0 +1,13 @@
In a mass mailing, users can set an event related and exclude the
recipients who have an email address already registered in that event.
This is useful in this scenario:
1\. Create a mass mailing for telling to 1000 partners that a new event
is available. 2. During a week some of them (50) have been registered in
the event 3. Then, a week after the first mass mailing, duplicate it to
get a second mass mailing. Relate this one to the event and exclude the
registered emails. Change the message body to remember that early bird
period is going to expire soon. 4. Send the second mass mailing and
registered emails are automatically excluded, So it's been only sent to
950 partners the ones who are not registered in the event yet.

View File

@ -1,15 +0,0 @@
In a mass mailing, users can set an event related and exclude the recipients who
have an email address already registered in that event.
This is useful in this scenario:
1. Create a mass mailing for telling to 1000 partners that a new event is
available.
2. During a week some of them (50) have been registered in the event
3. Then, a week after the first mass mailing, duplicate it to get a second
mass mailing. Relate this one to the event and exclude the registered emails.
Change the message body to remember that early bird period is going to expire
soon.
4. Send the second mass mailing and registered emails are automatically excluded,
So it's been only sent to 950 partners the ones who are not registered in the
event yet.

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head> <head>
@ -369,10 +368,10 @@ ul.auto-toc {
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a2fd89c0a593672ecc127e763e00e1602b770b4b305eae54e779ff71d091f321 !! source digest: sha256:a2fd89c0a593672ecc127e763e00e1602b770b4b305eae54e779ff71d091f321
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/social/tree/16.0/mass_mailing_event_registration_exclude"><img alt="OCA/social" src="https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/social-16-0/social-16-0-mass_mailing_event_registration_exclude"><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/social&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p> <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/social/tree/17.0/mass_mailing_event_registration_exclude"><img alt="OCA/social" src="https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/social-17-0/social-17-0-mass_mailing_event_registration_exclude"><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/social&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module links <tt class="docutils literal">mass_mailing</tt> with <tt class="docutils literal">event</tt> in order to exclude <p>This module links <tt class="docutils literal">mass_mailing</tt> with <tt class="docutils literal">event</tt> in order to exclude
recipients that are already registered, confirmed, cancelled, attended, or a recipients that are already registered, confirmed, cancelled, attended,
combination of these states, when the mass mailing is sent.</p> or a combination of these states, when the mass mailing is sent.</p>
<p><strong>Table of contents</strong></p> <p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents"> <div class="contents local topic" id="contents">
<ul class="simple"> <ul class="simple">
@ -388,26 +387,24 @@ combination of these states, when the mass mailing is sent.</p>
</div> </div>
<div class="section" id="usage"> <div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1> <h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<p>In a mass mailing, users can set an event related and exclude the recipients who <p>In a mass mailing, users can set an event related and exclude the
have an email address already registered in that event.</p> recipients who have an email address already registered in that event.</p>
<p>This is useful in this scenario:</p> <p>This is useful in this scenario:</p>
<p>1. Create a mass mailing for telling to 1000 partners that a new event is <p>1. Create a mass mailing for telling to 1000 partners that a new event
available. is available. 2. During a week some of them (50) have been registered in
2. During a week some of them (50) have been registered in the event the event 3. Then, a week after the first mass mailing, duplicate it to
3. Then, a week after the first mass mailing, duplicate it to get a second get a second mass mailing. Relate this one to the event and exclude the
mass mailing. Relate this one to the event and exclude the registered emails. registered emails. Change the message body to remember that early bird
Change the message body to remember that early bird period is going to expire period is going to expire soon. 4. Send the second mass mailing and
soon. registered emails are automatically excluded, So its been only sent to
4. Send the second mass mailing and registered emails are automatically excluded, 950 partners the ones who are not registered in the event yet.</p>
So its been only sent to 950 partners the ones who are not registered in the
event yet.</p>
</div> </div>
<div class="section" id="bug-tracker"> <div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1> <h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/social/issues">GitHub Issues</a>. <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/social/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported. 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 If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/social/issues/new?body=module:%20mass_mailing_event_registration_exclude%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <a class="reference external" href="https://github.com/OCA/social/issues/new?body=module:%20mass_mailing_event_registration_exclude%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p> <p>Do not contact contributors directly about support or help with technical issues.</p>
</div> </div>
<div class="section" id="credits"> <div class="section" id="credits">
@ -441,7 +438,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and mission is to support the collaborative development of Odoo features and
promote its widespread use.</p> promote its widespread use.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/social/tree/16.0/mass_mailing_event_registration_exclude">OCA/social</a> project on GitHub.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/social/tree/17.0/mass_mailing_event_registration_exclude">OCA/social</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div> </div>
</div> </div>