[IMP] mail_activity_team: pre-commit auto fixes

pull/1321/head
sonhd91 2024-03-05 14:23:22 +07:00
parent 30e1c3bd25
commit 92367b6503
7 changed files with 29 additions and 14 deletions

View File

@ -80,7 +80,7 @@ class MailActivityMixin(models.AbstractModel):
date_deadline=date_deadline, date_deadline=date_deadline,
summary=summary, summary=summary,
note=note, note=note,
**act_values **act_values,
) )
@api.depends( @api.depends(

View File

@ -5,7 +5,6 @@ from odoo import fields, models
class MailActivityType(models.Model): class MailActivityType(models.Model):
_inherit = "mail.activity.type" _inherit = "mail.activity.type"
default_team_id = fields.Many2one(comodel_name="mail.activity.team") default_team_id = fields.Many2one(comodel_name="mail.activity.team")

View File

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

View File

@ -0,0 +1,9 @@
- [ForgeFlow](https://www.forgeflow.com):
- Jordi Ballester Alomar (<jordi.ballester@forgeflow.com>)
- Miquel Raïch (<miquel.raich@forgeflow.com>)
- Bernat Puig Font (<bernat.puig@forgeflow.com>)
- Pedro Gonzalez (<pedro.gonzalez@pesol.es>)
- [Tecnativa](https://www.tecnativa.com):
- David Vidal
- [Dynapps](https://www.dynapps.eu):
- Raf Ven

View File

@ -1,12 +0,0 @@
* `ForgeFlow <https://www.forgeflow.com>`_:
* Jordi Ballester Alomar (jordi.ballester@forgeflow.com)
* Miquel Raïch (miquel.raich@forgeflow.com)
* Bernat Puig Font (bernat.puig@forgeflow.com)
* Pedro Gonzalez (pedro.gonzalez@pesol.es)
* `Tecnativa <https://www.tecnativa.com>`_:
* David Vidal
* `Dynapps <https://www.dynapps.eu>`_:
* Raf Ven

View File

@ -0,0 +1,16 @@
To set up new teams:
1. Go to *Settings / Activate developer mode*
2. Go to *Settings / Technical / Email / 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.