[17.0][IMP] helpdesk_mgmt: allows team leader to follow tickets automatically#955
[17.0][IMP] helpdesk_mgmt: allows team leader to follow tickets automatically#955cgarcia-solvos wants to merge 1 commit intoOCA:17.0from
Conversation
72cae87 to
0353d89
Compare
Add an optional setting in helpdesk teams to automatically subscribe the team leader as a follower of tickets belonging to that team.
0353d89 to
38e4b30
Compare
| groups="base.group_multi_company" | ||
| /> | ||
| <field name="show_in_portal" /> | ||
| <field name="add_leader_as_follower" /> |
There was a problem hiding this comment.
Could you move this option immediately below team leader field, and make it visible only if team leader is set?
| compute="_compute_complete_name", store=True, recursive=True | ||
| ) | ||
| parent_path = fields.Char(index=True, unaccent=False) | ||
| add_leader_as_follower = fields.Boolean( |
There was a problem hiding this comment.
This field could be computed, in order to unset it when team leader field is unset as well
|
Why not using the standard mechanism through followers in the team? |
|
@pedrobaeza Thanks for pointing that out. You are right, we hadn't noticed that behavior. What we were actually trying to achieve is to automate this behavior. One possible alternative could be introducing a company-level setting such as: “Team leaders automatically follow their teams” With this option enabled, the team leader would automatically be added as a follower of the team. What do you think about this approach? |
|
Then this should be put as an extra module, not inside the main one, for not complicating the base with a lot of options, checks, code, etc. |
|
I also wonder how many teams/leaders you have for being a barrier to do this setup once, and instead, wanting to automate it this way. |
Add an optional setting in helpdesk teams to automatically subscribe the team leader as a follower of tickets belonging to that team.