Skip to content

[17.0][IMP] helpdesk_mgmt: allows team leader to follow tickets automatically#955

Open
cgarcia-solvos wants to merge 1 commit intoOCA:17.0from
solvosci:17.0-imp-team_leader_autofollow_tickets
Open

[17.0][IMP] helpdesk_mgmt: allows team leader to follow tickets automatically#955
cgarcia-solvos wants to merge 1 commit intoOCA:17.0from
solvosci:17.0-imp-team_leader_autofollow_tickets

Conversation

@cgarcia-solvos
Copy link
Copy Markdown

Add an optional setting in helpdesk teams to automatically subscribe the team leader as a follower of tickets belonging to that team.

imagen

@cgarcia-solvos cgarcia-solvos force-pushed the 17.0-imp-team_leader_autofollow_tickets branch from 72cae87 to 0353d89 Compare March 5, 2026 14:32
Add an optional setting in helpdesk teams to automatically subscribe the
team leader as a follower of tickets belonging to that team.
@cgarcia-solvos cgarcia-solvos force-pushed the 17.0-imp-team_leader_autofollow_tickets branch from 0353d89 to 38e4b30 Compare March 5, 2026 14:34
Copy link
Copy Markdown
Contributor

@dalonsod dalonsod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See minor comments

groups="base.group_multi_company"
/>
<field name="show_in_portal" />
<field name="add_leader_as_follower" />
Copy link
Copy Markdown
Contributor

@dalonsod dalonsod Mar 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This field could be computed, in order to unset it when team leader field is unset as well

@pedrobaeza
Copy link
Copy Markdown
Member

Why not using the standard mechanism through followers in the team?

@cgarcia-solvos
Copy link
Copy Markdown
Author

@pedrobaeza Thanks for pointing that out.

You are right, we hadn't noticed that behavior.
Even so, in our use case this still requires a manual step, since the team leader needs to be explicitly added as a follower of each team.

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?

@pedrobaeza
Copy link
Copy Markdown
Member

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.

@pedrobaeza pedrobaeza added this to the 17.0 milestone Mar 5, 2026
@pedrobaeza
Copy link
Copy Markdown
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants