Skip to content

Commit

Permalink
[IMP] mail_activity_reply_creator: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
HeliconiaSolutions committed Jan 30, 2025
1 parent 7680273 commit fb04296
Show file tree
Hide file tree
Showing 7 changed files with 73 additions and 62 deletions.
51 changes: 27 additions & 24 deletions mail_activity_reply_creator/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,38 @@ Mail Activity Reply Creator
: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/16.0/mail_activity_reply_creator
:target: https://github.com/OCA/social/tree/18.0/mail_activity_reply_creator
:alt: OCA/social
.. |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-mail_activity_reply_creator
:target: https://translation.odoo-community.org/projects/social-18-0/social-18-0-mail_activity_reply_creator
: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=16.0
: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 aims to facilitate back-and-forth activity assignment between users by
automatically selecting activity creator as the assignee of the followup activity when
using button "Done & schedule next". Use case:
This module aims to facilitate back-and-forth activity assignment
between users by automatically selecting activity creator as the
assignee of the followup activity when using button "Done & schedule
next". Use case:

Mitchell Admin assigns activity "to do" to Marc Demo >
Marc Demo clicks "done and schedule next" on the activity >
in new activity form, "assigned to" is set to Mitchell Admin (unless a different default
user is set for the selected activity type).
Mitchell Admin assigns activity "to do" to Marc Demo > Marc Demo clicks
"done and schedule next" on the activity > in new activity form,
"assigned to" is set to Mitchell Admin (unless a different default user
is set for the selected activity type).

Furthermore, the module corrects a behavior that can induce user to assigning a new
activity to themselves instead of the previously selected user. Use case:
Furthermore, the module corrects a behavior that can induce user to
assigning a new activity to themselves instead of the previously
selected user. Use case:

Mitchell Admin creates a new activity, selects "Marc Demo" as "assigned to", but then
changes activity type.
Mitchell Admin creates a new activity, selects "Marc Demo" as "assigned
to", but then changes activity type.

In standard behavior "assigned to" is reset to "Mitchell Admin";
with this module, the user selection is maintained when changing activity type (unless
a different default user is set for the selected activity type).
In standard behavior "assigned to" is reset to "Mitchell Admin"; with
this module, the user selection is maintained when changing activity
type (unless a different default user is set for the selected activity
type).

**Table of contents**

Expand All @@ -58,28 +61,28 @@ 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_activity_reply_creator%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:%20mail_activity_reply_creator%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
~~~~~~~
-------

* Ilyas
* Ooops

Contributors
~~~~~~~~~~~~
------------

* Ooops404 <https://ooops404.com>
- Ooops404 <https://ooops404.com>

* Ilyas <[email protected]>
- Ilyas <[email protected]>

Maintainers
~~~~~~~~~~~
-----------

This module is maintained by the OCA.

Expand All @@ -91,6 +94,6 @@ 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/16.0/mail_activity_reply_creator>`_ project on GitHub.
This module is part of the `OCA/social <https://github.com/OCA/social/tree/18.0/mail_activity_reply_creator>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions mail_activity_reply_creator/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
2 changes: 2 additions & 0 deletions mail_activity_reply_creator/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Ooops404 \<<https://ooops404.com>\>
- Ilyas \<<[email protected]>\>
3 changes: 0 additions & 3 deletions mail_activity_reply_creator/readme/CONTRIBUTORS.rst

This file was deleted.

21 changes: 21 additions & 0 deletions mail_activity_reply_creator/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
This module aims to facilitate back-and-forth activity assignment
between users by automatically selecting activity creator as the
assignee of the followup activity when using button "Done & schedule
next". Use case:

Mitchell Admin assigns activity "to do" to Marc Demo \> Marc Demo clicks
"done and schedule next" on the activity \> in new activity form,
"assigned to" is set to Mitchell Admin (unless a different default user
is set for the selected activity type).

Furthermore, the module corrects a behavior that can induce user to
assigning a new activity to themselves instead of the previously
selected user. Use case:

Mitchell Admin creates a new activity, selects "Marc Demo" as "assigned
to", but then changes activity type.

In standard behavior "assigned to" is reset to "Mitchell Admin"; with
this module, the user selection is maintained when changing activity
type (unless a different default user is set for the selected activity
type).
18 changes: 0 additions & 18 deletions mail_activity_reply_creator/readme/DESCRIPTION.rst

This file was deleted.

37 changes: 20 additions & 17 deletions mail_activity_reply_creator/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,21 +369,24 @@ <h1 class="title">Mail Activity Reply Creator</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:25547488c3bf13b185d6f375ac4c18391f030077dda3b30f13d83bb525d2e1ff
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/mail_activity_reply_creator"><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-mail_activity_reply_creator"><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>This module aims to facilitate back-and-forth activity assignment between users by
automatically selecting activity creator as the assignee of the followup activity when
using button “Done &amp; schedule next”. Use case:</p>
<p>Mitchell Admin assigns activity “to do” to Marc Demo &gt;
Marc Demo clicks “done and schedule next” on the activity &gt;
in new activity form, “assigned to” is set to Mitchell Admin (unless a different default
user is set for the selected activity type).</p>
<p>Furthermore, the module corrects a behavior that can induce user to assigning a new
activity to themselves instead of the previously selected user. Use case:</p>
<p>Mitchell Admin creates a new activity, selects “Marc Demo” as “assigned to”, but then
changes activity type.</p>
<p>In standard behavior “assigned to” is reset to “Mitchell Admin”;
with this module, the user selection is maintained when changing activity type (unless
a different default user is set for the selected activity type).</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/18.0/mail_activity_reply_creator"><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-18-0/social-18-0-mail_activity_reply_creator"><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=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module aims to facilitate back-and-forth activity assignment
between users by automatically selecting activity creator as the
assignee of the followup activity when using button “Done &amp; schedule
next”. Use case:</p>
<p>Mitchell Admin assigns activity “to do” to Marc Demo &gt; Marc Demo clicks
“done and schedule next” on the activity &gt; in new activity form,
“assigned to” is set to Mitchell Admin (unless a different default user
is set for the selected activity type).</p>
<p>Furthermore, the module corrects a behavior that can induce user to
assigning a new activity to themselves instead of the previously
selected user. Use case:</p>
<p>Mitchell Admin creates a new activity, selects “Marc Demo” as “assigned
to”, but then changes activity type.</p>
<p>In standard behavior “assigned to” is reset to “Mitchell Admin”; with
this module, the user selection is maintained when changing activity
type (unless a different default user is set for the selected activity
type).</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand All @@ -401,7 +404,7 @@ <h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
<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.
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:%20mail_activity_reply_creator%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:%20mail_activity_reply_creator%0Aversion:%2018.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>
</div>
<div class="section" id="credits">
Expand Down Expand Up @@ -431,7 +434,7 @@ <h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/social/tree/16.0/mail_activity_reply_creator">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/18.0/mail_activity_reply_creator">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>
</div>
</div>
Expand Down

0 comments on commit fb04296

Please sign in to comment.