Skip to content

Commit f38024b

Browse files
achuliiStefanRijnhart
authored andcommitted
[IMP] mail_activity_done: pre-commit auto fixes
1 parent 603c494 commit f38024b

File tree

5 files changed

+16
-17
lines changed

5 files changed

+16
-17
lines changed

mail_activity_done/README.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ Mail Activity Done
1616
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
1717
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
1818
:alt: License: LGPL-3
19-
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github
20-
:target: https://github.com/OCA/social/tree/17.0/mail_activity_done
21-
:alt: OCA/social
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_activity_done
21+
:alt: OCA/mail
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/social-17-0/social-17-0-mail_activity_done
23+
:target: https://translation.odoo-community.org/projects/mail-18-0/mail-18-0-mail_activity_done
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=17.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/mail&target_branch=18.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -53,10 +53,10 @@ To check activities:
5353
Bug Tracker
5454
===========
5555

56-
Bugs are tracked on `GitHub Issues <https://github.com/OCA/social/issues>`_.
56+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/mail/issues>`_.
5757
In case of trouble, please check there if your issue has already been reported.
5858
If you spotted it first, help us to smash it by providing a detailed and welcomed
59-
`feedback <https://github.com/OCA/social/issues/new?body=module:%20mail_activity_done%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
59+
`feedback <https://github.com/OCA/mail/issues/new?body=module:%20mail_activity_done%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
6060

6161
Do not contact contributors directly about support or help with technical issues.
6262

@@ -93,6 +93,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
9393
mission is to support the collaborative development of Odoo features and
9494
promote its widespread use.
9595

96-
This module is part of the `OCA/social <https://github.com/OCA/social/tree/17.0/mail_activity_done>`_ project on GitHub.
96+
This module is part of the `OCA/mail <https://github.com/OCA/mail/tree/18.0/mail_activity_done>`_ project on GitHub.
9797

9898
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

mail_activity_done/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"author": "ForgeFlow, Odoo Community Association (OCA)",
77
"license": "LGPL-3",
88
"category": "Discuss",
9-
"website": "https://github.com/OCA/social",
9+
"website": "https://github.com/OCA/mail",
1010
"depends": ["mail"],
1111
"data": ["views/mail_activity_views.xml"],
1212
"pre_init_hook": "pre_init_hook",

mail_activity_done/models/res_users.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ def systray_get_activities(self):
5050
"planned_count": 0,
5151
"type": "activity",
5252
}
53-
user_activities[activity["model"]][
54-
"%s_count" % activity["states"]
55-
] += activity["count"]
53+
user_activities[activity["model"]]["%s_count" % activity["states"]] += (
54+
activity["count"]
55+
)
5656
if activity["states"] in ("today", "overdue"):
5757
user_activities[activity["model"]]["total_count"] += activity["count"]
5858

mail_activity_done/static/description/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ <h1 class="title">Mail Activity Done</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:5a0ce87bede46ee3ef4aca69080182899705bb737283ce6f2e369921f635edf0
371371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372-
<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/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/social/tree/17.0/mail_activity_done"><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-mail_activity_done"><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>
372+
<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/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/mail/tree/18.0/mail_activity_done"><img alt="OCA/mail" src="https://img.shields.io/badge/github-OCA%2Fmail-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/mail-18-0/mail-18-0-mail_activity_done"><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/mail&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373373
<p>This module implements the capability to keep activities that have been
374374
completed, for future reporting, by setting them with the boolean
375375
‘Done’.</p>
@@ -401,10 +401,10 @@ <h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
401401
</div>
402402
<div class="section" id="bug-tracker">
403403
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
404-
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/social/issues">GitHub Issues</a>.
404+
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/mail/issues">GitHub Issues</a>.
405405
In case of trouble, please check there if your issue has already been reported.
406406
If you spotted it first, help us to smash it by providing a detailed and welcomed
407-
<a class="reference external" href="https://github.com/OCA/social/issues/new?body=module:%20mail_activity_done%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
407+
<a class="reference external" href="https://github.com/OCA/mail/issues/new?body=module:%20mail_activity_done%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
408408
<p>Do not contact contributors directly about support or help with technical issues.</p>
409409
</div>
410410
<div class="section" id="credits">
@@ -437,7 +437,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
437437
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
438438
mission is to support the collaborative development of Odoo features and
439439
promote its widespread use.</p>
440-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/social/tree/17.0/mail_activity_done">OCA/social</a> project on GitHub.</p>
440+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/mail/tree/18.0/mail_activity_done">OCA/mail</a> project on GitHub.</p>
441441
<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>
442442
</div>
443443
</div>

mail_activity_done/views/mail_activity_views.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,5 +120,4 @@
120120
</field>
121121
</field>
122122
</record>
123-
124123
</odoo>

0 commit comments

Comments
 (0)