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

[18.0][MIG] mail_activity_team: Migration to 18.0 #38

Open
wants to merge 64 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
64 commits
Select commit Hold shift + click to select a range
d9af09c
[ADD] mail_activity_team
JordiBForgeFlow Nov 27, 2018
ac0d5ee
[IMP] Some improvements and fixes
MiquelRForgeFlow Nov 27, 2018
9338ef3
[ADD] tests
MiquelRForgeFlow Nov 28, 2018
912e95a
[MIG] mail_activity_team: Migration to 12.0
MiquelRForgeFlow Dec 3, 2018
7e2f41b
[IMP] Set team responsible as default user when activity is created
AdriaGForgeFlow Dec 21, 2018
223e27b
[IMP] Add search filter for My Team Activities
AdriaGForgeFlow Dec 24, 2018
054ba59
FIX mail_activ_team: always allow superuser
bealdav Jul 10, 2019
137f253
[IMP] mail_activity_team: black, isort
pegonzalezspesol Oct 24, 2019
ff1337a
[MIG] 13.0 mail_activity_team
pegonzalezspesol Nov 20, 2019
85ba371
Added translation using Weblate (Italian)
alessandro-fiorino Dec 3, 2020
c168211
Translated using Weblate (Italian)
alessandro-fiorino Dec 3, 2020
6d424ca
[IMP] pre-commit run -a
Jan 26, 2021
ea46932
[FIX] mail_activity_team: scheduled activity
chienandalu Apr 14, 2021
1991a7a
[FIX] mail_activity_team: archived users
chienandalu Jun 17, 2021
7c8d15f
Added translation using Weblate (French)
tfossoul Jan 13, 2022
17e10d8
[IMP] mail_activity_team: black, isort, prettier
atchuthan Jan 13, 2022
20d65e9
[MIG] mail_activity_team: Migration to 14.0
atchuthan Jan 13, 2022
b3bc37e
[MIG] mail_activity_team: Migration to 15.0
BernatPForgeFlow Jan 17, 2022
1ee1393
Added translation using Weblate (French)
tfossoul Mar 10, 2022
859ef6e
mail_activity_team 15.0.1.1.0
OCA-git-bot Apr 7, 2022
3665c42
[FIX][15.0] mail_activity_team. smart button archive
JoanMForgeFlow Apr 26, 2022
31a3b9d
Update translation files
oca-transbot Apr 26, 2022
d9f98bf
[IMP] mail_activity_team: settings menu position
ivantodorovich Oct 31, 2022
66faa7b
[IMP] mail_activity_team: Define team on activity types
etobella May 26, 2022
f292e58
[IMP] mail_activity_team: Improve test using standard methods
etobella May 26, 2022
b298946
[IMP] mail_activity_team: Force team on schedule
olgamarcocb Jun 13, 2022
6f704ad
[IMP] mail_activity_team
olgamarcocb Jun 14, 2022
f847dc8
[IMP] mail_activity_type: Remove deprecated usage of onchange
kluna1998 Nov 18, 2022
6be0088
[FIX] mail_activity_team: activity count
chienandalu Apr 18, 2022
8ad1893
[FIX] mail_activity_team: restore to my activities when unselecting
etobella Nov 20, 2022
35b9d3c
[FIX] mail_activity_team: Adapt changes to 15.0
etobella Dec 20, 2022
3ba197f
mail_activity_team 15.0.1.4.0
OCA-git-bot Dec 20, 2022
8c76c15
Update translation files
weblate Dec 20, 2022
d72833b
Translated using Weblate (Italian)
francesco-ooops Jan 3, 2023
149a3a5
[IMP] mail_activity_team: Allow to force a team on server actions
ivantodorovich Jan 30, 2023
e4ee6cb
[15.0][FIX] mail_activity_team: warning Two fields have same label
dsolanki-initos Feb 1, 2023
2b1a554
Update translation files
weblate Feb 3, 2023
ac9aef2
[MIG] mail_activity_team: Migration to 16.0
rven Apr 17, 2023
4ff9928
Update translation files
weblate Jun 8, 2023
81202c7
Translated using Weblate (Italian)
mymage Sep 20, 2023
0077fbc
Update translation files
weblate Oct 18, 2023
6db20b6
Translated using Weblate (Italian)
mymage Nov 3, 2023
71c0272
Added translation using Weblate (Spanish)
Ivorra78 Nov 8, 2023
1e58382
Translated using Weblate (Italian)
mymage Dec 1, 2023
6d63e36
Update translation files
weblate Jan 5, 2024
234de5e
mail_activity_team: Fix bug of the Team Activities filter.
ntodorova Jan 11, 2024
730550b
[IMP] mail_activity_team: pre-commit auto fixes
Mar 5, 2024
d1bef30
[MIG] mail_activity_team: Migration to 17.0
Mar 5, 2024
12ceaf4
[UPD] Update mail_activity_team.pot
Apr 5, 2024
a3ea9fd
[IMP] mail_activity_team: filter fix, follow-up comments
ntodorova Apr 17, 2024
002336c
Update translation files
weblate Jul 7, 2024
9b9361e
[UPD] Update mail_activity_team.pot
Jul 22, 2024
f1b651d
Update translation files
weblate Jul 22, 2024
cc5f40b
[BOT] post-merge updates
OCA-git-bot Aug 29, 2024
321581b
[17.0][REF] mail_activity_team: use mail.activity.schedule wizard
vvrossem Oct 8, 2024
36b7987
Translated using Weblate (Italian)
mymage Jan 16, 2025
3a43f1a
[UPD] Update mail_activity_team.pot
Jan 17, 2025
b7ec989
[BOT] post-merge updates
OCA-git-bot Jan 17, 2025
ac79998
Update translation files
weblate Jan 17, 2025
b09dc56
Translated using Weblate (Italian)
mymage Jan 19, 2025
3826f1d
[FIX] mail_activity_team: singleton in _compute_activity_team_id()
alexey-pelykh Jan 31, 2025
f0a7808
[IMP] mail_activity_team: Add responsible as activity team leader if …
HviorForgeFlow Oct 14, 2024
ab71a99
[MIG] mail_activity_team: Migration to 18.0
StefanRijnhart Feb 25, 2025
81e9212
[TST] test requirement for unmerged mail_activity_board
StefanRijnhart Feb 25, 2025
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
4 changes: 3 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ exclude: |
# Ignore test files in addons
/tests/samples/.*|
# You don't usually want a bot to modify your legal texts
(LICENSE.*|COPYING.*)
(LICENSE.*|COPYING.*)|
# Exclude monkeypatches
mail_activity_team/patch.py
default_language_version:
python: python3
node: "22.9.0"
Expand Down
136 changes: 136 additions & 0 deletions mail_activity_team/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
==================
Mail Activity Team
==================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |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%2Fmail-lightgray.png?logo=github
:target: https://github.com/OCA/mail/tree/18.0/mail_activity_team
:alt: OCA/mail
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/mail-18-0/mail-18-0-mail_activity_team
: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/mail&target_branch=18.0
:alt: Try me on Runboat

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

This module adds the possibility to assign teams to activities.

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

Usage
=====

To set up new teams:

1. Go to *Settings / Activate developer mode*
2. Go to *Settings / Technical / Discuss / Activity Teams*
3. Create a new Team and assign (optionally) the models in which it will
be used, and the members of the team.

You can also assign a user to Activity teams going to *Settings / Users
& Companies / Users*, and in the *Preferences* tab, field Activity
Teams.

When you create a new activity the application will propose the user's
assigned team.

You can report on the activities assigned to a team going to *Dashboards
/ Activities*, and then filter by a specific team or group by teams.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/mail/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/mail/issues/new?body=module:%20mail_activity_team%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
-------

* ForgeFlow
* Sodexis

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

- `ForgeFlow <https://www.forgeflow.com>`__:

- Jordi Ballester Alomar ([email protected])
- Miquel Raïch ([email protected])
- Bernat Puig Font ([email protected])

- Pedro Gonzalez ([email protected])
- `Tecnativa <https://www.tecnativa.com>`__:

- David Vidal

- `Dynapps <https://www.dynapps.eu>`__:

- Raf Ven

- [Trobz] (https://trobz.com):

- Son Ho [email protected]

- [Camptocamp] (https://camptocamp.com):

- Vincent Van Rossem [email protected]
- Italo Lopes [email protected]

- `CorporateHub <https://corporatehub.eu/>`__

- Alexey Pelykh [email protected]

- Stefan Rijnhart ([email protected])

Other credits
-------------

The migration of this module from 16.0 to 17.0 was financially supported
by Camptocamp

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/mail <https://github.com/OCA/mail/tree/18.0/mail_activity_team>`_ 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_team/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .hooks import post_load_hook
from . import models
from . import wizard
34 changes: 34 additions & 0 deletions mail_activity_team/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 2018-22 ForgeFlow S.L.
# Copyright 2021 Sodexis
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Mail Activity Team",
"summary": "Add Teams to Activities",
"version": "18.0.1.0.0",
"development_status": "Alpha",
"category": "Social Network",
"website": "https://github.com/OCA/mail",
"author": "ForgeFlow, Sodexis, Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"depends": ["mail_activity_board", "web"],
"data": [
"security/ir.model.access.csv",
"security/mail_activity_team_security.xml",
"wizard/mail_activity_schedule.xml",
"views/ir_actions_server_views.xml",
"views/mail_activity_type.xml",
"views/mail_activity_team_views.xml",
"views/mail_activity_views.xml",
"views/res_users_views.xml",
],
"assets": {
"web.assets_backend": [
"mail_activity_team/static/src/components/*/*",
"mail_activity_team/static/src/core/*/*",
"mail_activity_team/static/src/models/*",
],
},
"post_load": "post_load_hook",
}
13 changes: 13 additions & 0 deletions mail_activity_team/hooks.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import logging

from odoo.addons.mail.models.mail_activity import MailActivity

from .patch import mail_activity__create

_logger = logging.getLogger(__name__)


def post_load_hook():
"""See patch.py for more info"""
MailActivity.create = mail_activity__create
_logger.info("PATCHED mail's mail.activity create")
Loading
Loading